chore: Make webRTC opt-in
This commit is contained in:
parent
c0244c66ab
commit
74100bd777
7 changed files with 30 additions and 16 deletions
|
|
@ -113,7 +113,7 @@ class ChatView extends StatelessWidget {
|
|||
];
|
||||
} else {
|
||||
return [
|
||||
if (Matrix.of(context).webrtcIsSupported &&
|
||||
if (Matrix.of(context).voipPlugin != null &&
|
||||
controller.room!.isDirectChat)
|
||||
IconButton(
|
||||
onPressed: controller.onPhoneButtonTap,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue