dkforest

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

commit 7c25056eca8a5009053da73b267c6761be4bfd05
parent a529908b1dafb13d69c3b616689ba0f59b5e2ebc
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu,  8 Feb 2024 11:51:08 -0800

add some randomness

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

diff --git a/pkg/web/handlers/interceptors/slashInterceptor.go b/pkg/web/handlers/interceptors/slashInterceptor.go @@ -1038,7 +1038,7 @@ func handlePm0(c *command.Command, msg string) (handled bool) { if pkey == "" { c.Message = "I could not find a public pgp key in your profile." } else { - msg := "This is a sample text" + msg := "This is a sample text " + utils.GenerateToken10() if encrypted, err := utils.GeneratePgpEncryptedMessage(pkey, msg); err != nil { c.Message = err.Error() } else {