dkforest

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

commit 93fd0d2d578822a7acb314a30d5c98fdda9e6799
parent 5a15a4d9648d57f1a8cfb7f90a54620e7a15975b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 27 Jan 2023 22:29:01 -0800

move upload interceptor before slash interceptor so that we can use the uploaded file in the slash command

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

diff --git a/pkg/web/handlers/api/v1/topBarHandler.go b/pkg/web/handlers/api/v1/topBarHandler.go @@ -292,8 +292,8 @@ func ChatTopBarHandler(c echo.Context) error { BattleshipInstance, WWInstance, BangInterceptor{}, - SlashInterceptor{}, UploadInterceptor{}, + SlashInterceptor{}, MsgInterceptor{}, } for _, interceptor := range interceptors {