fix: Cannot pin messages of other users
This commit is contained in:
parent
1759043ee8
commit
60bcc6b89f
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue