chore: Follow up new reactions picker

This commit is contained in:
Christian Kußowski 2025-06-17 09:20:22 +02:00
commit 13f27eda9f
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 488 additions and 354 deletions

View file

@ -891,6 +891,16 @@ class ChatController extends State<ChatPageWithRoom>
return true;
}
bool get canEditSelectedEvents {
if (isArchived ||
selectedEvents.length != 1 ||
!selectedEvents.first.status.isSent) {
return false;
}
return currentRoomBundle
.any((cl) => selectedEvents.first.senderId == cl!.userID);
}
void forwardEventsAction() async {
if (selectedEvents.isEmpty) return;
await showScaffoldDialog(