Remove uneeded "Rejoin" button

This commit is contained in:
miruka 2019-04-21 15:40:05 -04:00
parent 4dced63b63
commit ac70634256
2 changed files with 1 additions and 6 deletions

View File

@ -11,11 +11,6 @@ Banner {
labelText: ChatJS.getLeftBannerText(leftEvent) labelText: ChatJS.getLeftBannerText(leftEvent)
buttonModel: [ buttonModel: [
{
text: "Rejoin",
iconName: "join",
iconColor: Qt.hsla(0.13, 0.9, 0.35, 1),
},
{ {
text: "Forget", text: "Forget",
iconName: "trash_can", iconName: "trash_can",

View File

@ -162,7 +162,7 @@ function getLeftBannerText(leftEvent) {
if (leftEvent.state_key === leftEvent.sender) { if (leftEvent.state_key === leftEvent.sender) {
return (prev && prev.membership === "invite" ? return (prev && prev.membership === "invite" ?
"You declined to join this room." : "You left the room.") + "You declined to join the room." : "You left the room.") +
reason reason
} }