Don't store undo/delete activities

master
Bob Mottram 2019-07-12 12:35:03 +01:00
parent 29a4af00dd
commit c94fc3d1f8
1 changed files with 3 additions and 1 deletions

View File

@ -693,6 +693,7 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
debug):
if debug:
print('DEBUG: Undo announce accepted from '+keyId)
return False
if receiveDelete(session,handle, \
baseDir,httpPrefix, \
@ -705,11 +706,12 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
debug):
if debug:
print('DEBUG: Delete accepted from '+keyId)
return False
if debug:
print('DEBUG: object capabilities passed')
print('copy from '+queueFilename+' to '+destinationFilename)
copyfile(queueFilename,destinationFilename)
return True