bar_items: Use the room member_count method for nicklist_count.

This commit is contained in:
Damir Jelić 2018-11-21 17:03:38 +01:00
parent 7bd0c96c57
commit b9e60d6ecf

View file

@ -125,7 +125,7 @@ def matrix_bar_nicklist_count(data, item, window, buffer, extra_info):
if buffer in server.buffers.values():
room_buffer = server.find_room_from_ptr(buffer)
room = room_buffer.room
return str(len(room.users))
return str(room.member_count)
return ""