forked from indymedia/epicyon
Don't send bookmark activity
parent
6635665375
commit
4b4c748813
32
bookmarks.py
32
bookmarks.py
|
@ -284,14 +284,14 @@ def bookmark(recentPostsCache: {},
|
|||
baseDir, postFilename, objectUrl,
|
||||
newBookmarkJson['actor'], domain, debug)
|
||||
|
||||
sendSignedJson(newBookmarkJson, session, baseDir,
|
||||
nickname, domain, port,
|
||||
bookmarkedPostNickname,
|
||||
bookmarkedPostDomain, bookmarkedPostPort,
|
||||
'https://www.w3.org/ns/activitystreams#Public',
|
||||
httpPrefix, True, clientToServer, federationList,
|
||||
sendThreads, postLog, cachedWebfingers, personCache,
|
||||
debug, projectVersion)
|
||||
#sendSignedJson(newBookmarkJson, session, baseDir,
|
||||
# nickname, domain, port,
|
||||
# bookmarkedPostNickname,
|
||||
# bookmarkedPostDomain, bookmarkedPostPort,
|
||||
# 'https://www.w3.org/ns/activitystreams#Public',
|
||||
# httpPrefix, True, clientToServer, federationList,
|
||||
# sendThreads, postLog, cachedWebfingers, personCache,
|
||||
# debug, projectVersion)
|
||||
|
||||
return newBookmarkJson
|
||||
|
||||
|
@ -390,14 +390,14 @@ def undoBookmark(recentPostsCache: {},
|
|||
newUndoBookmarkJson['actor'],
|
||||
domain, debug)
|
||||
|
||||
sendSignedJson(newUndoBookmarkJson, session, baseDir,
|
||||
nickname, domain, port,
|
||||
bookmarkedPostNickname, bookmarkedPostDomain,
|
||||
bookmarkedPostPort,
|
||||
'https://www.w3.org/ns/activitystreams#Public',
|
||||
httpPrefix, True, clientToServer, federationList,
|
||||
sendThreads, postLog, cachedWebfingers, personCache,
|
||||
debug, projectVersion)
|
||||
#sendSignedJson(newUndoBookmarkJson, session, baseDir,
|
||||
# nickname, domain, port,
|
||||
# bookmarkedPostNickname, bookmarkedPostDomain,
|
||||
# bookmarkedPostPort,
|
||||
# 'https://www.w3.org/ns/activitystreams#Public',
|
||||
# httpPrefix, True, clientToServer, federationList,
|
||||
# sendThreads, postLog, cachedWebfingers, personCache,
|
||||
# debug, projectVersion)
|
||||
else:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue