aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 7232741a..8f9095dd 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -595,7 +595,7 @@ Room::rev_iter_t Room::findInTimeline(const QString& evtId) const
void Room::Private::getAllMembers()
{
// If already loaded or already loading, there's nothing to do here.
- if (q->joinedCount() <= membersMap.size() || isJobRunning(allMembersJob))
+ if (q->joinedCount() - 1 <= membersMap.size() || isJobRunning(allMembersJob))
return;
allMembersJob = connection->callApi<GetMembersByRoomJob>(