Diff

plugins/muc/muc.lib.lua @ 10689:c6c904e4776e

MUC: Persist affiliation_data in new MUC format!
author Matthew Wild <mwild1@gmail.com>
date Thu, 12 Mar 2020 20:32:07 +0000
parent 10688:83668e16b9a3
child 10691:82959e7ecd46
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Thu Mar 12 16:10:44 2020 +0000
+++ b/plugins/muc/muc.lib.lua	Thu Mar 12 20:32:07 2020 +0000
@@ -1544,6 +1544,7 @@
 		frozen = {
 			_jid = self.jid;
 			_data = self._data;
+			_affiliation_data = self._affiliation_data;
 		};
 		for user, affiliation in pairs(self._affiliations) do
 			frozen[user] = affiliation;