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
commit520e494813f6f03f99529b1fd0db8e8c873251aa (patch)
treeb91ed57dfbc01f143af6ab40cc830d5422185e62 /plugins/muc
parente3911ce5da43b4d4c37fabebd7d3fe96435d7373 (diff)
downloadprosody-520e494813f6f03f99529b1fd0db8e8c873251aa.tar.gz
prosody-520e494813f6f03f99529b1fd0db8e8c873251aa.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;