mirror of https://gitlab.com/bashrc2/epicyon
Replace ?
parent
b3d0bd223b
commit
f9aa3a0efb
|
@ -313,14 +313,14 @@ def _getReplyIconHtml(baseDir: str, nickname: str, domain: str,
|
||||||
if postJsonObject['object'].get('attributedTo'):
|
if postJsonObject['object'].get('attributedTo'):
|
||||||
if isinstance(postJsonObject['object']['attributedTo'], str):
|
if isinstance(postJsonObject['object']['attributedTo'], str):
|
||||||
replyToLink += \
|
replyToLink += \
|
||||||
';mention=' + postJsonObject['object']['attributedTo']
|
'?mention=' + postJsonObject['object']['attributedTo']
|
||||||
content = getBaseContentFromPost(postJsonObject, systemLanguage)
|
content = getBaseContentFromPost(postJsonObject, systemLanguage)
|
||||||
if content:
|
if content:
|
||||||
mentionedActors = getMentionsFromHtml(content)
|
mentionedActors = getMentionsFromHtml(content)
|
||||||
if mentionedActors:
|
if mentionedActors:
|
||||||
for actorUrl in mentionedActors:
|
for actorUrl in mentionedActors:
|
||||||
if ';mention=' + actorUrl not in replyToLink:
|
if '?mention=' + actorUrl not in replyToLink:
|
||||||
replyToLink += ';mention=' + actorUrl
|
replyToLink += '?mention=' + actorUrl
|
||||||
if len(replyToLink) > 500:
|
if len(replyToLink) > 500:
|
||||||
break
|
break
|
||||||
replyToLink += pageNumberParam
|
replyToLink += pageNumberParam
|
||||||
|
|
Loading…
Reference in New Issue