Only forget room if you were in the room
parent
08a8514b7a
commit
73b6bf4629
|
@ -946,7 +946,8 @@ class RoomMemberHandler(BaseHandler):
|
|||
user_id, room_id
|
||||
))
|
||||
|
||||
yield self.store.forget(user_id, room_id)
|
||||
if membership:
|
||||
yield self.store.forget(user_id, room_id)
|
||||
|
||||
|
||||
class RoomListHandler(BaseHandler):
|
||||
|
|
Loading…
Reference in New Issue