server: Don't try to fetch members if the server is disconnected.
This commit is contained in:
parent
58bf197913
commit
901a392f5a
1 changed files with 2 additions and 0 deletions
|
@ -756,6 +756,8 @@ class MatrixServer(object):
|
|||
self.send_or_queue(request)
|
||||
|
||||
def get_joined_members(self, room_id):
|
||||
if not self.connected:
|
||||
return
|
||||
if room_id in self.member_request_list:
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue