fix: return after unpinEvent

This commit is contained in:
avashilling 2025-08-11 11:25:57 -04:00
parent 3ddc887335
commit 0d7e353fd6

View file

@ -1203,6 +1203,7 @@ class ChatController extends State<ChatPageWithRoom>
pinnedEventIds.contains(selectedEventIds.single);
if (unpin) {
unpinEvent(selectedEventIds.single);
return;
} else {
pinnedEventIds.addAll(selectedEventIds);
}