move to new sdk

This commit is contained in:
Sorunome 2020-06-10 08:07:01 +00:00 committed by Christian Pauly
commit 6868f38c7c
26 changed files with 172 additions and 201 deletions

View file

@ -46,9 +46,9 @@ class _ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
Widget build(BuildContext context) {
notificationChangeSub ??= Matrix.of(context)
.client
.onUserEvent
.onAccountData
.stream
.where((u) => u.type == 'account_data' && u.eventType == 'm.push_rules')
.where((u) => u.type == 'm.push_rules')
.listen(
(u) => setState(() => null),
);