fix: display WebRTC call overlay in web

This commit is contained in:
Lanna Michalke 2022-02-19 08:27:03 +00:00 committed by Krille Fear
commit e46307cd82
7 changed files with 99 additions and 29 deletions

View file

@ -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 }