feat: exclude pin events from last room event (#1560)
This commit is contained in:
parent
723e28a314
commit
41eb666ec6
1 changed files with 2 additions and 1 deletions
|
|
@ -151,7 +151,8 @@ abstract class ClientManager {
|
|||
shouldReplaceRoomLastEvent: (_, event) {
|
||||
return event.content.tryGet(ModelKey.transcription) == null &&
|
||||
!event.type.startsWith("p.") &&
|
||||
!event.type.startsWith("pangea.");
|
||||
!event.type.startsWith("pangea.") &&
|
||||
event.type != EventTypes.RoomPinnedEvents;
|
||||
},
|
||||
// Pangea#
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue