fix: display WebRTC call overlay in web
This commit is contained in:
parent
f6467cc829
commit
e46307cd82
7 changed files with 99 additions and 29 deletions
|
|
@ -175,6 +175,7 @@ class ChatListController extends State<ChatList> {
|
|||
|
||||
scrollController.addListener(_onScroll);
|
||||
_waitForFirstSync();
|
||||
_hackyWebRTCFixForWeb();
|
||||
super.initState();
|
||||
}
|
||||
|
||||
|
|
@ -576,6 +577,10 @@ class ChatListController extends State<ChatList> {
|
|||
Matrix.of(context).navigatorContext = context;
|
||||
return ChatListView(this);
|
||||
}
|
||||
|
||||
void _hackyWebRTCFixForWeb() {
|
||||
Matrix.of(context).voipPlugin?.context = context;
|
||||
}
|
||||
}
|
||||
|
||||
enum EditBundleAction { addToBundle, removeFromBundle }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue