aboutsummaryrefslogtreecommitdiffstats
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
commite20d9427abe748e4ff86e81355858582c518aca8 (patch)
treeb91ed57dfbc01f143af6ab40cc830d5422185e62
parent01650eaf062645981632f7c8499ca9cf1583cc79 (diff)
downloadprosody-e20d9427abe748e4ff86e81355858582c518aca8.tar.gz
prosody-e20d9427abe748e4ff86e81355858582c518aca8.zip
MUC: Persist affiliation_data in new MUC format!
-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;