PinnedMessages -> ChangedPins

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-22 07:46:41 +02:00
parent e7c5711bb7
commit 51c112fd82
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -73,7 +73,7 @@ enum TransitionType {
ChangedAvatar = "changed_avatar",
NoChange = "no_change",
ServerAcl = "server_acl",
PinnedMessages = "pinned_messages"
ChangedPins = "pinned_messages"
}
const SEP = ",";
@ -357,7 +357,7 @@ export default class MemberEventListSummary extends React.Component<IProps> {
} else if (type === EventType.RoomServerAcl) {
return TransitionType.ServerAcl;
} else if (type === EventType.RoomPinnedEvents) {
return TransitionType.PinnedMessages;
return TransitionType.ChangedPins;
}
switch (e.mxEvent.getContent().membership) {