dkforest

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

commit c3157555cf61b03d16824ff58bcf542220443500
parent a3515edca30f0c0b625e97e0a487e30fc2b3a895
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun,  9 Apr 2023 03:37:28 -0700

debug

Diffstat:
Mpkg/web/handlers/api/v1/topBarHandler.go | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/pkg/web/handlers/api/v1/topBarHandler.go b/pkg/web/handlers/api/v1/topBarHandler.go @@ -814,7 +814,6 @@ func splitQuote(in string) (string, string) { } func convertLinks(in string, getUserByUsername func(string) (database.User, error)) string { - fmt.Println("??????", in) quote, rest := splitQuote(in) libredditURLs := []string{ @@ -853,8 +852,6 @@ func convertLinks(in string, getUserByUsername func(string) (database.User, erro } newRest := linkOrProfileRgx.ReplaceAllStringFunc(rest, func(link string) string { - fmt.Println("???", link) - // Convert all occurrences of "/u/username" to a link to user profile page if the user exists if userProfileLinkRgx.MatchString(link) { user, err := getUserByUsername(strings.TrimPrefix(link, "/u/"))