mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
Improve knocking support
This commit is contained in:
parent
00c97fb5df
commit
b00d960a27
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// gomuks - A Matrix client written in Go.
|
// gomuks - A Matrix client written in Go.
|
||||||
// Copyright (C) 2024 Tulir Asokan
|
// Copyright (C) 2025 Nexus Nicholson
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU Affero General Public License as published by
|
// it under the terms of the GNU Affero General Public License as published by
|
||||||
|
@ -92,7 +92,7 @@ const UserModeration = ({ userID, client, member }: UserModerationProps) => {
|
||||||
disabled={actionInProgress}
|
disabled={actionInProgress}
|
||||||
>
|
>
|
||||||
<PersonAdd />
|
<PersonAdd />
|
||||||
<span>Invite</span>
|
<span>{membership === "knock" ? "Accept request to join" : "Invite"}</span>
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
{["knock", "invite"].includes(membership) && (
|
{["knock", "invite"].includes(membership) && (
|
||||||
|
|
Loading…
Add table
Reference in a new issue