mirror of https://gitlab.com/bashrc2/epicyon
Define handle variable earlier
parent
71dff77f20
commit
df50fcc797
7
inbox.py
7
inbox.py
|
@ -2394,6 +2394,9 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
return False
|
return False
|
||||||
# Not sending to yourself
|
# Not sending to yourself
|
||||||
if not sendingToSelf:
|
if not sendingToSelf:
|
||||||
|
# get the handle of the DM sender
|
||||||
|
sendH = \
|
||||||
|
sendingActorNickname + '@' + sendingActorDomain
|
||||||
# check the follow
|
# check the follow
|
||||||
if not isFollowingActor(baseDir,
|
if not isFollowingActor(baseDir,
|
||||||
nickname, domain,
|
nickname, domain,
|
||||||
|
@ -2408,10 +2411,6 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
if not obj.get('inReplyTo'):
|
if not obj.get('inReplyTo'):
|
||||||
senderPostId = \
|
senderPostId = \
|
||||||
postJsonObject['id']
|
postJsonObject['id']
|
||||||
# get the handle of the DM sender
|
|
||||||
sendH = \
|
|
||||||
sendingActorNickname + \
|
|
||||||
'@' + sendingActorDomain
|
|
||||||
_bounceDM(senderPostId,
|
_bounceDM(senderPostId,
|
||||||
session, httpPrefix,
|
session, httpPrefix,
|
||||||
baseDir,
|
baseDir,
|
||||||
|
|
Loading…
Reference in New Issue