Commit e54fab13 authored by Wilko Manger's avatar Wilko Manger

Fix exceptions when total member count is unknown

Fixes PATTLE-63 and PATTLE-AW.
parent d202f45d
......@@ -36,7 +36,9 @@ class Members extends Storables<UserId, User> {
/// Note that this does not reflect how much members are
/// in memory or in the store. This is the actual count of
/// members in the [Room].
int count;
/// Is -1 if unknown.
int count = -1;
Members(this._room, this.count, String scope) : super(scope);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment