Merge pull request #3010 from pangeachat/selectively-show-reply
Hide reply action in chats where user can't send messages
This commit is contained in:
commit
f93a4239fa
1 changed files with 5 additions and 1 deletions
|
|
@ -63,7 +63,11 @@ class OverlayHeaderState extends State<OverlayHeader> {
|
|||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||
child: Row(
|
||||
children: [
|
||||
if (controller.selectedEvents.length == 1)
|
||||
// #Pangea
|
||||
// if (controller.selectedEvents.length == 1)
|
||||
if (controller.selectedEvents.length == 1 &&
|
||||
controller.room.canSendDefaultMessages)
|
||||
// Pangea#
|
||||
IconButton(
|
||||
icon: const Icon(Symbols.reply_all),
|
||||
tooltip: l10n.reply,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue