Don't send bookmark activity

main
Bob Mottram 2020-05-21 19:28:31 +01:00
parent 6635665375
commit 4b4c748813
1 changed files with 17 additions and 17 deletions

View File

@ -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