Fix onJitsiCall

This commit is contained in:
Christian Pauly 2020-04-09 10:21:13 +02:00
parent 38a17c49b9
commit 8c9691c494
1 changed files with 1 additions and 0 deletions

View File

@ -422,6 +422,7 @@ class MatrixState extends State<Matrix> {
client = Client(widget.clientName, debug: false);
onJitsiCallSub ??= client.onEvent.stream
.where((e) =>
e.type == 'timeline' &&
e.eventType == 'm.room.message' &&
e.content['content']['msgtype'] == Matrix.callNamespace &&
e.content['sender'] != client.userID)