Remove forgotten rooms from the view
This commit is contained in:
@@ -79,9 +79,8 @@ function onRoomUpdated(
|
||||
}
|
||||
|
||||
|
||||
function onRoomDeleted(user_id, category, room_id) {
|
||||
var roles = {"userId": user_id, "roomId": room_id, "category": category}
|
||||
rooms.popWhere(roles, 1)
|
||||
function onRoomForgotten(user_id, room_id) {
|
||||
rooms.popWhere({"userId": user_id, "roomId": room_id})
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user