Add delete query for trash box

This commit is contained in:
shekhar-cis 2022-07-08 15:16:14 +05:30
parent a4d173cc11
commit e1eb1f43cc
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7

View File

@ -18,6 +18,11 @@ def trash(msgid):
queues.UISignalQueue.put(('removeInboxRowByMsgid', msgid))
def delete(ack_data):
"""Delet"""
sqlExecute("DELETE FROM inbox WHERE msgid = ?", ack_data)
def isMessageAlreadyInInbox(sigHash):
"""Check for previous instances of this message"""
queryReturn = sqlQuery(