merge-requests/8/head
Bob Mottram 2020-12-20 13:30:55 +00:00
parent da256d24d2
commit c9376f0a2b
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ def htmlModerationInfo(cssCache: {}, translate: {},
if actorJson['icon'].get('url'):
avatarUrl = actorJson['icon']['url']
if '.' in avatarUrl:
ext = avatarUrl.split('.')[-1]
ext = '.' + avatarUrl.split('.')[-1]
acctUrl = \
'/users/' + nickname + '?options=' + actor + ';1;' + \
'/members/' + acctNickname + ext