PinnedMessages -> ChangedPins
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
e7c5711bb7
commit
51c112fd82
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ enum TransitionType {
|
||||||
ChangedAvatar = "changed_avatar",
|
ChangedAvatar = "changed_avatar",
|
||||||
NoChange = "no_change",
|
NoChange = "no_change",
|
||||||
ServerAcl = "server_acl",
|
ServerAcl = "server_acl",
|
||||||
PinnedMessages = "pinned_messages"
|
ChangedPins = "pinned_messages"
|
||||||
}
|
}
|
||||||
|
|
||||||
const SEP = ",";
|
const SEP = ",";
|
||||||
|
@ -357,7 +357,7 @@ export default class MemberEventListSummary extends React.Component<IProps> {
|
||||||
} else if (type === EventType.RoomServerAcl) {
|
} else if (type === EventType.RoomServerAcl) {
|
||||||
return TransitionType.ServerAcl;
|
return TransitionType.ServerAcl;
|
||||||
} else if (type === EventType.RoomPinnedEvents) {
|
} else if (type === EventType.RoomPinnedEvents) {
|
||||||
return TransitionType.PinnedMessages;
|
return TransitionType.ChangedPins;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (e.mxEvent.getContent().membership) {
|
switch (e.mxEvent.getContent().membership) {
|
||||||
|
|
Loading…
Reference in a new issue