forked from indymedia/epicyon
Tidying
parent
3607bfd439
commit
81c06ae2f5
5
inbox.py
5
inbox.py
|
@ -1035,7 +1035,7 @@ def receiveLike(recentPostsCache: {},
|
||||||
messageJson['actor'], domain, debug)
|
messageJson['actor'], domain, debug)
|
||||||
print('likeNotify: ' + str(messageJson))
|
print('likeNotify: ' + str(messageJson))
|
||||||
likeNotify(baseDir, handle,
|
likeNotify(baseDir, handle,
|
||||||
messageJson['actor'], messageJson['object'], httpPrefix)
|
messageJson['actor'], messageJson['object'])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
@ -1707,8 +1707,7 @@ def dmNotify(baseDir: str, handle: str, url: str) -> None:
|
||||||
fp.write(url)
|
fp.write(url)
|
||||||
|
|
||||||
|
|
||||||
def likeNotify(baseDir: str, handle: str, actor: str, url: str,
|
def likeNotify(baseDir: str, handle: str, actor: str, url: str) -> None:
|
||||||
httpPrefix: str) -> None:
|
|
||||||
"""Creates a notification that a like has arrived
|
"""Creates a notification that a like has arrived
|
||||||
"""
|
"""
|
||||||
accountDir = baseDir + '/accounts/' + handle
|
accountDir = baseDir + '/accounts/' + handle
|
||||||
|
|
Loading…
Reference in New Issue