Remove uneeded "Rejoin" button
This commit is contained in:
parent
4dced63b63
commit
ac70634256
@ -11,11 +11,6 @@ Banner {
|
||||
labelText: ChatJS.getLeftBannerText(leftEvent)
|
||||
|
||||
buttonModel: [
|
||||
{
|
||||
text: "Rejoin",
|
||||
iconName: "join",
|
||||
iconColor: Qt.hsla(0.13, 0.9, 0.35, 1),
|
||||
},
|
||||
{
|
||||
text: "Forget",
|
||||
iconName: "trash_can",
|
||||
|
@ -162,7 +162,7 @@ function getLeftBannerText(leftEvent) {
|
||||
|
||||
if (leftEvent.state_key === leftEvent.sender) {
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user