From 4b4c748813f17204338cd54163ff6c47f3268163 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 May 2020 19:28:31 +0100 Subject: [PATCH] Don't send bookmark activity --- bookmarks.py | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/bookmarks.py b/bookmarks.py index d010291c..f700662b 100644 --- a/bookmarks.py +++ b/bookmarks.py @@ -283,15 +283,15 @@ def bookmark(recentPostsCache: {}, updateBookmarksCollection(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