fix: return after unpinEvent
This commit is contained in:
parent
3ddc887335
commit
0d7e353fd6
1 changed files with 1 additions and 0 deletions
|
|
@ -1203,6 +1203,7 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
pinnedEventIds.contains(selectedEventIds.single);
|
||||
if (unpin) {
|
||||
unpinEvent(selectedEventIds.single);
|
||||
return;
|
||||
} else {
|
||||
pinnedEventIds.addAll(selectedEventIds);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue