Invalidate outbound sessions on room forget
This commit is contained in:
parent
e9592a7289
commit
0bd98a321d
|
@ -284,4 +284,6 @@ class Client(QObject):
|
||||||
@futurize()
|
@futurize()
|
||||||
def forgetRoom(self, room_id: str) -> None:
|
def forgetRoom(self, room_id: str) -> None:
|
||||||
self.roomAboutToBeForgotten.emit(room_id)
|
self.roomAboutToBeForgotten.emit(room_id)
|
||||||
return self.net.talk(self.nio.room_forget, room_id=room_id)
|
response = self.net.talk(self.nio.room_forget, room_id=room_id)
|
||||||
|
self.nio.invalidate_outbound_session(room_id)
|
||||||
|
return response
|
||||||
|
|
Loading…
Reference in New Issue
Block a user