plugins/muc/muc.lib.lua
changeset 7370 2aef5e8b69e9
parent 7369 eb3928903009
child 7371 4e24aff1e4df
equal deleted inserted replaced
7369:eb3928903009 7370:2aef5e8b69e9
  1250 		_data = self._data;
  1250 		_data = self._data;
  1251 		_affiliations = self._affiliations;
  1251 		_affiliations = self._affiliations;
  1252 	}
  1252 	}
  1253 end
  1253 end
  1254 
  1254 
       
  1255 function _M.restore_room(frozen)
       
  1256 	local room_jid = frozen.jid;
       
  1257 	local room = _M.new_room(room_jid, frozen._data);
       
  1258 	room._affiliations = frozen._affiliations;
       
  1259 	return room;
       
  1260 end
       
  1261 
  1255 _M.room_mt = room_mt;
  1262 _M.room_mt = room_mt;
  1256 
  1263 
  1257 return _M;
  1264 return _M;