mirror of https://gitlab.com/bashrc2/epicyon
Show emoji in display name
parent
bc03ed9c41
commit
d2344663f6
|
@ -38,6 +38,7 @@ from like import noOfLikes
|
||||||
from announce import announcedByPerson
|
from announce import announcedByPerson
|
||||||
from blocking import isBlocked
|
from blocking import isBlocked
|
||||||
from content import getMentionsFromHtml
|
from content import getMentionsFromHtml
|
||||||
|
from content import addHtmlTags
|
||||||
from config import getConfigParam
|
from config import getConfigParam
|
||||||
from skills import getSkills
|
from skills import getSkills
|
||||||
from cache import getPersonFromCache
|
from cache import getPersonFromCache
|
||||||
|
@ -1742,6 +1743,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
|
|
||||||
displayName=getDisplayName(postJsonObject['actor'],personCache)
|
displayName=getDisplayName(postJsonObject['actor'],personCache)
|
||||||
if displayName:
|
if displayName:
|
||||||
|
displayName= \
|
||||||
|
addHtmlTags(baseDir,httpPrefix, \
|
||||||
|
nickname,domain,displayName,[],{})
|
||||||
titleStr+='<a href="'+messageId+'">'+displayName+'</a>'
|
titleStr+='<a href="'+messageId+'">'+displayName+'</a>'
|
||||||
else:
|
else:
|
||||||
titleStr+='<a href="'+messageId+'">@'+actorNickname+'@'+actorDomain+'</a>'
|
titleStr+='<a href="'+messageId+'">@'+actorNickname+'@'+actorDomain+'</a>'
|
||||||
|
@ -1864,6 +1868,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
if avatarUrl2:
|
if avatarUrl2:
|
||||||
avatarUrl=avatarUrl2
|
avatarUrl=avatarUrl2
|
||||||
if displayName:
|
if displayName:
|
||||||
|
displayName= \
|
||||||
|
addHtmlTags(baseDir,httpPrefix, \
|
||||||
|
nickname,domain,displayName,[],{})
|
||||||
titleStr=displayName+' '+titleStr
|
titleStr=displayName+' '+titleStr
|
||||||
|
|
||||||
avatarImageInPost= \
|
avatarImageInPost= \
|
||||||
|
|
Loading…
Reference in New Issue