master
Bob Mottram 2019-07-12 10:49:12 +01:00
parent 5eefc3a8f2
commit 927f922c85
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ def createDelete(session,baseDir: str,federationList: [], \
sendThreads: [],postLog: [], \ sendThreads: [],postLog: [], \
personCache: {},cachedWebfingers: {}, \ personCache: {},cachedWebfingers: {}, \
debug: bool) -> {}: debug: bool) -> {}:
"""Creates an delete message """Creates a delete message
Typically toUrl will be https://www.w3.org/ns/activitystreams#Public Typically toUrl will be https://www.w3.org/ns/activitystreams#Public
and ccUrl might be a specific person whose post is to be deleted and ccUrl might be a specific person whose post is to be deleted
objectUrl is typically the url of the message, corresponding to url objectUrl is typically the url of the message, corresponding to url

View File

@ -697,7 +697,7 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
federationList, \ federationList, \
debug): debug):
if debug: if debug:
print('DEBUG: Announce accepted from '+keyId) print('DEBUG: Delete accepted from '+keyId)
if debug: if debug:
print('DEBUG: object capabilities passed') print('DEBUG: object capabilities passed')