~ols/yeet

944234a220ac78987f41fc05e7b97b1f5425c097 — Oliver Leaver-Smith 3 years ago 237e694
fix profile image
1 files changed, 3 insertions(+), 2 deletions(-)

M activity.go
M activity.go => activity.go +3 -2
@@ 26,7 26,7 @@ import (
	"log"
	notrand "math/rand"
	"net/http"
	"net/url"
	//"net/url"
	"os"
	"strings"
	"time"


@@ 1470,7 1470,8 @@ func junkuser(user *WhatAbout) junk.Junk {
		if ava := user.Options.Avatar; ava != "" {
			a["url"] = ava
		} else {
			a["url"] = fmt.Sprintf("https://https://ols.wtf/avatar?seed=%s", serverName, url.QueryEscape(user.URL))
			//a["url"] = fmt.Sprintf("https://ols.wtf/avatar?seed=%s", url.QueryEscape(user.URL))
			a["url"] = fmt.Sprintf("https://ols.wtf/pro.jpg")
		}
		j["icon"] = a
	} else {