Software / code / prosody
Diff
plugins/muc/name.lib.lua @ 11120:b2331f3dfeea
Merge 0.11->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 30 Sep 2020 09:50:33 +0100 |
| parent | 11057:13eee48071c8 |
line wrap: on
line diff
--- a/plugins/muc/name.lib.lua Thu Oct 01 15:08:58 2020 +0100 +++ b/plugins/muc/name.lib.lua Wed Sep 30 09:50:33 2020 +0100 @@ -7,10 +7,8 @@ -- COPYING file in the source package for more information. -- -local jid_split = require "util.jid".split; - local function get_name(room) - return room._data.name or jid_split(room.jid); + return room._data.name; end local function set_name(room, name)