dkforest

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

commit a3e4fe7fc59185928e27a5e3aa392da4866e52be
parent 9ec3f4d6ccc232be90c2523482080c2f6428046b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 11 Jun 2023 00:31:52 -0700

keep /locate in input after a locate command

Diffstat:
Mpkg/web/handlers/interceptors/slashInterceptor.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/web/handlers/interceptors/slashInterceptor.go b/pkg/web/handlers/interceptors/slashInterceptor.go @@ -1727,7 +1727,8 @@ func handleLocateCmd(c *command.Command) (handled bool) { msg = username.AtStr() + " could not be located in a public room" } c.ZeroProcMsg(msg) - c.Err = command.ErrRedirect + c.DataMessage = "/locate " + c.Err = command.ErrStop return true } return