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:
ggurdin 2025-06-11 15:24:11 -04:00 committed by GitHub
commit f93a4239fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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