mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/timeline: fix message for rejecting invites
This commit is contained in:
parent
f79678a87f
commit
5da85acfe0
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ function useChangeDescription(
|
||||||
if (sender === target) {
|
if (sender === target) {
|
||||||
if (prevContent?.membership === "knock") {
|
if (prevContent?.membership === "knock") {
|
||||||
return "cancelled their join request"
|
return "cancelled their join request"
|
||||||
|
} else if (prevContent?.membership === "invite") {
|
||||||
|
return "rejected the invite"
|
||||||
}
|
}
|
||||||
return "left the room"
|
return "left the room"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue