move to new sdk

This commit is contained in:
Sorunome
2020-06-10 08:07:01 +00:00
committed by Christian Pauly
parent b66c2e0e81
commit abb728295c
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),
);