chore: Update sdk

This commit is contained in:
Christian Pauly 2020-10-28 08:24:49 +01:00
commit 7ff11fbef2
5 changed files with 14 additions and 8 deletions

View file

@ -244,7 +244,7 @@ class MatrixState extends State<Matrix> {
});
onJitsiCallSub ??= client.onEvent.stream
.where((e) =>
e.type == 'timeline' &&
e.type == EventUpdateType.timeline &&
e.eventType == 'm.room.message' &&
e.content['content']['msgtype'] == Matrix.callNamespace &&
e.content['sender'] != client.userID)
@ -313,7 +313,7 @@ class MatrixState extends State<Matrix> {
html.Notification.requestPermission();
onNotification ??= client.onEvent.stream
.where((e) =>
e.type == 'timeline' &&
e.type == EventUpdateType.timeline &&
[EventTypes.Message, EventTypes.Sticker, EventTypes.Encrypted]
.contains(e.eventType) &&
e.content['sender'] != client.userID)