refactored direct chat logic into a shared utility, implemented direct message shortcuts in the participant list and message reactions, and added reaction visibility checks in the message options dialog

This commit is contained in:
2026-05-13 18:46:34 +02:00
parent a09817a975
commit d0ba7c0fd6
5 changed files with 121 additions and 77 deletions
+4 -1
View File
@@ -77,7 +77,10 @@ class _ChatInfoState extends State<ChatInfo> {
trailing: const Icon(Icons.arrow_right),
onTap: () => TalkNavigator.pushSplitView(
context,
ParticipantsListView(participants!),
ParticipantsListView(
participants!,
showDirectMessageAction: isGroup,
),
),
),
],