diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-04-23 13:52:19 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-04-23 13:52:19 +0100 |
commit | ab312cfc01bb6ea001fb039ffc7bb48e6a3396b0 (patch) | |
tree | 7aff8927628435c23c24605936504e27bc3a7624 /plugins/muc/muc.lib.lua | |
parent | 325833753210cd7bd87f997096237e53624f9726 (diff) | |
parent | 4b57f0ced9248faa7059d28f38c95be149e96918 (diff) | |
download | prosody-ab312cfc01bb6ea001fb039ffc7bb48e6a3396b0.tar.gz prosody-ab312cfc01bb6ea001fb039ffc7bb48e6a3396b0.zip |
Merge 0.11->trunk
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 3b126522..d785a5a2 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -144,7 +144,7 @@ end -- actor is the attribute table local function add_item(x, affiliation, role, jid, nick, actor_nick, actor_jid, reason) - x:tag("item", {affiliation = affiliation; role = role; jid = jid; nick = nick;}) + x:tag("item", {affiliation = affiliation or "none"; role = role; jid = jid; nick = nick;}) if actor_nick or actor_jid then x:tag("actor", {nick = actor_nick; jid = actor_jid;}):up() end |