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
|
|
@ -214,11 +214,9 @@ class RoomChat extends HookConsumerWidget {
|
|||
...{
|
||||
...ref.watch(
|
||||
AccountDataController.provider.select(
|
||||
(value) => IList(
|
||||
value["m.recent_emoji"]
|
||||
?.content["recent_emoji"] ??
|
||||
[],
|
||||
).map((entry) => entry["emoji"]).toIList(),
|
||||
(value) => value.recentEmoji
|
||||
.map((entry) => entry.emoji)
|
||||
.toIList(),
|
||||
),
|
||||
),
|
||||
"👍",
|
||||
|
|
|
|||
Loading…
Reference in a new issue