mirror of https://gitlab.com/bashrc2/epicyon
More checks on replyto
parent
89a0dc40db
commit
10a21e797b
8
inbox.py
8
inbox.py
|
@ -2355,11 +2355,15 @@ def inboxAfterCapabilities(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
if nickname != 'inbox':
|
if nickname != 'inbox':
|
||||||
# replies index will be updated
|
# replies index will be updated
|
||||||
updateIndexList.append('tlreplies')
|
updateIndexList.append('tlreplies')
|
||||||
|
inReplyTo = postJsonObject['object']['inReplyTo']
|
||||||
|
if inReplyTo:
|
||||||
|
if isinstance(inReplyTo, str):
|
||||||
if not isMuted(baseDir, nickname, domain,
|
if not isMuted(baseDir, nickname, domain,
|
||||||
postJsonObject['object']['inReplyTo']):
|
inReplyTo):
|
||||||
replyNotify(baseDir, handle,
|
replyNotify(baseDir, handle,
|
||||||
httpPrefix + '://' + domain +
|
httpPrefix + '://' + domain +
|
||||||
'/users/' + nickname + '/tlreplies')
|
'/users/' + nickname +
|
||||||
|
'/tlreplies')
|
||||||
else:
|
else:
|
||||||
isReplyToMutedPost = True
|
isReplyToMutedPost = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue