Fix onJitsiCall

This commit is contained in:
Christian Pauly 2020-04-09 10:21:13 +02:00
parent 38a17c49b9
commit 8c9691c494

View file

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