forked from indymedia/epicyon
Tidying
parent
5eefc3a8f2
commit
927f922c85
|
@ -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
|
||||||
|
|
2
inbox.py
2
inbox.py
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue