dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 6e89639b79e560dbbdd83118f747870e2ac92b93
parent e79dd16de24a752f23afbd693ff533e97401aba5
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Tue, 15 Nov 2022 14:13:06 -0500

improve error message

Diffstat:
Mpkg/web/handlers/api/v1/slashInterceptor.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/api/v1/slashInterceptor.go b/pkg/web/handlers/api/v1/slashInterceptor.go @@ -757,7 +757,7 @@ func handlePMCmd(c *Command) (handled bool) { c.skipInboxes = true } else { // Need at least 1 karma to send PM from a public room - c.err = errors.New("not enough karma") + c.err = errors.New(`you need 20 public messages to unlock PMs; or be whitelisted`) return true } }