forked from Nexus/nexus
add invite blocking support plus msc4494 support
To accomplish this I also reworked how account data is stored and added a method to fetch capabilities, and another method to set account data
This commit is contained in:
parent
115bec5f05
commit
f97c5548a3
11 changed files with 176 additions and 24 deletions
|
|
@ -84,9 +84,7 @@ class SpacesController extends Notifier<IList<Space>> {
|
|||
],
|
||||
}.nonNulls.toISet();
|
||||
|
||||
final directMessages = IMap(
|
||||
accountData["m.direct"]?.content ?? {},
|
||||
).values.expand((e) => e).toISet();
|
||||
final directMessages = accountData.directMessages.values.flattened;
|
||||
|
||||
final otherRooms = rooms.entries
|
||||
.where(
|
||||
|
|
|
|||
Loading…
Reference in a new issue