server: Don't try to fetch members if the server is disconnected.

This commit is contained in:
Damir Jelić 2018-11-15 17:19:21 +01:00
parent 58bf197913
commit 901a392f5a

View file

@ -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