Update muxrpc/handlers/tunnel/server/members.go

Co-authored-by: decentral1se <1991377+decentral1se@users.noreply.github.com>
This commit is contained in:
Filip Borkiewicz 2022-10-31 16:22:03 +00:00 committed by André Staltz
parent ea9b22cfa7
commit 72e7d68176
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ func (h *Handler) members(ctx context.Context, req *muxrpc.Request, snk *muxrpc.
if pm == roomdb.ModeCommunity || pm == roomdb.ModeRestricted {
_, err := h.membersdb.GetByFeed(ctx, *peer)
if err != nil {
return fmt.Errorf("external user are not allowed to list members: %w", err)
return fmt.Errorf("external users are not allowed to list members: %w", err)
}
}