Comparison

plugins/muc/muc.lib.lua @ 7360:7a37fade5380

MUC: Move 'preserialization' step to muc.lib
author Kim Alvefur <zash@zash.se>
date Sun, 17 Apr 2016 22:09:44 +0200
parent 7353:ca31d3271cf8
child 7362:032fcb7b80a1
comparison
equal deleted inserted replaced
7357:d69521003e91 7360:7a37fade5380
1233 }; 1233 };
1234 _affiliations = {}; 1234 _affiliations = {};
1235 }, room_mt); 1235 }, room_mt);
1236 end 1236 end
1237 1237
1238 function room_mt:freeze()
1239 return {
1240 jid = self.jid;
1241 _data = self._data;
1242 _affiliations = self._affiliations;
1243 }
1244 end
1245
1238 _M.room_mt = room_mt; 1246 _M.room_mt = room_mt;
1239 1247
1240 return _M; 1248 return _M;