mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 06:25:15 +00:00
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) {
|
!selectedEvents.single.status.isSent) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return currentRoomBundle
|
return true;
|
||||||
.any((cl) => selectedEvents.first.senderId == cl!.userID);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool get canEditSelectedEvents {
|
bool get canEditSelectedEvents {
|
||||||
|
|
Loading…
Reference in a new issue