Diff

plugins/muc/muc.lib.lua @ 10690:27d15097c235 0.11

MUC: Persist affiliation_data in new MUC format!
author Matthew Wild <mwild1@gmail.com>
date Thu, 12 Mar 2020 20:32:07 +0000
parent 10431:3db8372e203c
child 10691:82959e7ecd46
child 10753:925081396c59
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Wed Mar 11 21:15:01 2020 +0100
+++ b/plugins/muc/muc.lib.lua	Thu Mar 12 20:32:07 2020 +0000
@@ -1449,6 +1449,7 @@
 		frozen = {
 			_jid = self.jid;
 			_data = self._data;
+			_affiliation_data = self._affiliation_data;
 		};
 		for user, affiliation in pairs(self._affiliations) do
 			frozen[user] = affiliation;