aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
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
commit773203771da3d2b443ec7e05b6a180456e195b84 (patch)
treeb91ed57dfbc01f143af6ab40cc830d5422185e62 /plugins/muc/muc.lib.lua
parent48dcba89d77ec5ec7d3ed9df84dd4046b5099e45 (diff)
downloadprosody-773203771da3d2b443ec7e05b6a180456e195b84.tar.gz
prosody-773203771da3d2b443ec7e05b6a180456e195b84.zip
MUC: Persist affiliation_data in new MUC format!
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-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;