mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
Merge branch 'krille/direct-chat-calls' into 'main'
chore: Hide call button for group chats See merge request famedly/fluffychat!748
This commit is contained in:
commit
ed236f345f
@ -113,7 +113,8 @@ class ChatView extends StatelessWidget {
|
|||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
return [
|
return [
|
||||||
if (Matrix.of(context).webrtcIsSupported)
|
if (Matrix.of(context).webrtcIsSupported &&
|
||||||
|
controller.room!.isDirectChat)
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: controller.onPhoneButtonTap,
|
onPressed: controller.onPhoneButtonTap,
|
||||||
icon: const Icon(Icons.call_outlined),
|
icon: const Icon(Icons.call_outlined),
|
||||||
|
Loading…
Reference in New Issue
Block a user