room_items_cache[room.jid] = room:get_public() and room:get_name() or nil;
if is_persistent or savestate then
persistent_rooms:set(nil, room.jid, true);
room_items_cache[room.jid] = room:get_public() and room:get_name() or nil;
if is_persistent or savestate then
persistent_rooms:set(nil, room.jid, true);