forked from indymedia/epicyon
like account
parent
5ff4c121ce
commit
be509e712d
4
like.py
4
like.py
|
@ -444,11 +444,9 @@ def outboxLike(baseDir: str,httpPrefix: str, \
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: c2s like object has no nickname')
|
print('DEBUG: c2s like object has no nickname')
|
||||||
return
|
return
|
||||||
likeNickname=getNicknameFromActor(messageId)
|
|
||||||
likeDomain,likePort=getDomainFromActor(messageId)
|
|
||||||
if ':' in domain:
|
if ':' in domain:
|
||||||
domain=domain.split(':')[0]
|
domain=domain.split(':')[0]
|
||||||
postFilename=locatePost(baseDir,likeNickname,likeDomain,messageId)
|
postFilename=locatePost(baseDir,nickname,domain,messageId)
|
||||||
if not postFilename:
|
if not postFilename:
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: c2s like post not found in inbox or outbox')
|
print('DEBUG: c2s like post not found in inbox or outbox')
|
||||||
|
|
Loading…
Reference in New Issue