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
commitffe0b57c6c4d16c67ccae976429eb99864f03650 (patch)
treeb91ed57dfbc01f143af6ab40cc830d5422185e62 /plugins/muc
parent650690f1e2e9c74d6f11c8ab629edc81973be443 (diff)
downloadprosody-ffe0b57c6c4d16c67ccae976429eb99864f03650.tar.gz
prosody-ffe0b57c6c4d16c67ccae976429eb99864f03650.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;