dkforest

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

commit 9d0033f32b1f2c312bc3c25313e6ae35e9c87dda
parent 6ee132a7b613587325779556283b6d9e095fa917
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 15 Jun 2023 13:01:05 -0700

fix

Diffstat:
Mpkg/database/utils/processMessage.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/database/utils/processMessage.go b/pkg/database/utils/processMessage.go @@ -719,7 +719,7 @@ func colorifyTaggedUsers(html string, getUsersByUsername getUsersByUsernameFn) ( } } - if usernames.Len() > 0 { + if len(usernameMatches) > 0 { html = tagRgxL.ReplaceAllStringFunc(html, func(s string) string { if strings.HasPrefix(s, `\`) { return strings.TrimPrefix(s, `\`)