2
0
mirror of https://gitlab.com/famedly/fluffychat.git synced 2025-03-31 13:06:52 +02:00

Merge branch 'krille/direct-chat-calls' into 'main'

chore: Hide call button for group chats

See merge request 
This commit is contained in:
Krille Fear 2022-02-17 21:01:07 +00:00
commit ed236f345f

@ -113,7 +113,8 @@ class ChatView extends StatelessWidget {
];
} else {
return [
if (Matrix.of(context).webrtcIsSupported)
if (Matrix.of(context).webrtcIsSupported &&
controller.room!.isDirectChat)
IconButton(
onPressed: controller.onPhoneButtonTap,
icon: const Icon(Icons.call_outlined),