diff --git a/emoji/default_emoji.json b/emoji/default_emoji.json index b2c4db1e..698913d6 100644 --- a/emoji/default_emoji.json +++ b/emoji/default_emoji.json @@ -582,5 +582,6 @@ "firefox": "firefox", "dove": "dove", "unspecifiedgoose": "unspecifiedgoose", - "lesbian_heart": "lesbian_heart" + "lesbian_heart": "lesbian_heart", + "heart_trans": "heart_trans" } diff --git a/emoji/heart_trans.png b/emoji/heart_trans.png new file mode 100644 index 00000000..43471dae Binary files /dev/null and b/emoji/heart_trans.png differ diff --git a/webinterface.py b/webinterface.py index 7d2bad1d..2eee2915 100644 --- a/webinterface.py +++ b/webinterface.py @@ -106,6 +106,7 @@ def getPersonAvatarUrl(baseDir: str,personUrl: str,personCache: {}) -> str: """ personJson = getPersonFromCache(baseDir,personUrl,personCache) if personJson: + # get from locally stored image actorStr=personJson['id'].replace('/','-') avatarImageFilename=baseDir+'/cache/avatars/'+actorStr+'.png' if os.path.isfile(avatarImageFilename):