aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-03-12 20:32:07 +0000
committerMatthew Wild <mwild1@gmail.com>2020-03-12 20:32:07 +0000
commite50a3fac0be9cee64746f88dda46989ec87e8e29 (patch)
treeb91ed57dfbc01f143af6ab40cc830d5422185e62 /plugins/muc
parent02b23bdc6699dfcd5f14de1933a171b6415a64a5 (diff)
downloadprosody-e50a3fac0be9cee64746f88dda46989ec87e8e29.tar.gz
prosody-e50a3fac0be9cee64746f88dda46989ec87e8e29.zip
MUC: Persist affiliation_data in new MUC format!
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 639ecc38..bc370da5 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1449,6 +1449,7 @@ function room_mt:freeze(live)
frozen = {
_jid = self.jid;
_data = self._data;
+ _affiliation_data = self._affiliation_data;
};
for user, affiliation in pairs(self._affiliations) do
frozen[user] = affiliation;