mirror of https://gitlab.com/bashrc2/epicyon
Missing argument
parent
1da6bea818
commit
7200c12e44
12
inbox.py
12
inbox.py
|
@ -909,7 +909,8 @@ def receiveUndoLike(recentPostsCache: {}, \
|
||||||
messageJson['object'],messageJson['actor'],domain,debug)
|
messageJson['object'],messageJson['actor'],domain,debug)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def receiveBookmark(session,handle: str,isGroup: bool,baseDir: str, \
|
def receiveBookmark(recentPostsCache: {}, \
|
||||||
|
session,handle: str,isGroup: bool,baseDir: str, \
|
||||||
httpPrefix: str,domain :str,port: int, \
|
httpPrefix: str,domain :str,port: int, \
|
||||||
sendThreads: [],postLog: [],cachedWebfingers: {}, \
|
sendThreads: [],postLog: [],cachedWebfingers: {}, \
|
||||||
personCache: {},messageJson: {},federationList: [], \
|
personCache: {},messageJson: {},federationList: [], \
|
||||||
|
@ -967,10 +968,12 @@ def receiveBookmark(session,handle: str,isGroup: bool,baseDir: str, \
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: bookmarked post was found')
|
print('DEBUG: bookmarked post was found')
|
||||||
|
|
||||||
updateBookmarksCollection(baseDir,postFilename,messageJson['object'],messageJson['actor'],domain,debug)
|
updateBookmarksCollection(recentPostsCache,baseDir,postFilename, \
|
||||||
|
messageJson['object'],messageJson['actor'],domain,debug)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def receiveUndoBookmark(session,handle: str,isGroup: bool,baseDir: str, \
|
def receiveUndoBookmark(recentPostsCache: {}, \
|
||||||
|
session,handle: str,isGroup: bool,baseDir: str, \
|
||||||
httpPrefix: str,domain :str,port: int, \
|
httpPrefix: str,domain :str,port: int, \
|
||||||
sendThreads: [],postLog: [],cachedWebfingers: {}, \
|
sendThreads: [],postLog: [],cachedWebfingers: {}, \
|
||||||
personCache: {},messageJson: {},federationList: [], \
|
personCache: {},messageJson: {},federationList: [], \
|
||||||
|
@ -1029,7 +1032,8 @@ def receiveUndoBookmark(session,handle: str,isGroup: bool,baseDir: str, \
|
||||||
return True
|
return True
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: bookmarked post found. Now undoing.')
|
print('DEBUG: bookmarked post found. Now undoing.')
|
||||||
undoBookmarksCollectionEntry(baseDir,postFilename,messageJson['object'],messageJson['actor'],domain,debug)
|
undoBookmarksCollectionEntry(recentPostsCache: {},baseDir,postFilename, \
|
||||||
|
messageJson['object'],messageJson['actor'],domain,debug)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def receiveDelete(session,handle: str,isGroup: bool,baseDir: str, \
|
def receiveDelete(session,handle: str,isGroup: bool,baseDir: str, \
|
||||||
|
|
Loading…
Reference in New Issue