server: Only fetch the joined member list for rooms that are missing members.
This commit is contained in:
parent
4957e9c89c
commit
25f4f43b3f
1 changed files with 4 additions and 1 deletions
|
@ -1361,7 +1361,10 @@ class MatrixServer(object):
|
|||
def create_room_buffer(self, room_id, prev_batch):
|
||||
room = self.client.rooms[room_id]
|
||||
buf = RoomBuffer(room, self.name, prev_batch)
|
||||
# TODO this should turned into a propper class
|
||||
|
||||
if room.members_synced:
|
||||
buf.members_fetched = True
|
||||
|
||||
self.room_buffers[room_id] = buf
|
||||
self.buffers[room_id] = buf.weechat_buffer._ptr
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue