From b00d960a276f640ba41829021a95294549550215 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Sun, 12 Jan 2025 21:09:53 +0000 Subject: [PATCH] Improve knocking support --- web/src/ui/rightpanel/UserModeration.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/ui/rightpanel/UserModeration.tsx b/web/src/ui/rightpanel/UserModeration.tsx index 18968d2..1d7aa33 100644 --- a/web/src/ui/rightpanel/UserModeration.tsx +++ b/web/src/ui/rightpanel/UserModeration.tsx @@ -1,5 +1,5 @@ // 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 // 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} > - Invite + {membership === "knock" ? "Accept request to join" : "Invite"} )} {["knock", "invite"].includes(membership) && (