Skip to content

Commit

Permalink
fix: Cannot pin messages of other users
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 6, 2023
1 parent 1759043 commit 60bcc6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pages/chat/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,7 @@ class ChatController extends State<ChatPageWithRoom> {
!selectedEvents.single.status.isSent) {
return false;
}
return currentRoomBundle
.any((cl) => selectedEvents.first.senderId == cl!.userID);
return true;
}

bool get canEditSelectedEvents {
Expand Down

0 comments on commit 60bcc6b

Please sign in to comment.