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
commit33ee094ac8dca4c4edea0b32d1b984c8b46e63a9 (patch)
tree6c8a81b541444330e3478ab27c4fb476a5d4d2dd
parent818722afb83b3c61c49e75fae338a4140414f84f (diff)
downloadprosody-33ee094ac8dca4c4edea0b32d1b984c8b46e63a9.tar.gz
prosody-33ee094ac8dca4c4edea0b32d1b984c8b46e63a9.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 2c9139d1..4f265cf8 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1544,6 +1544,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;