Fix onJitsiCall
This commit is contained in:
parent
38a17c49b9
commit
8c9691c494
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue