diff --git a/src/helper_inbox.py b/src/helper_inbox.py index 654dd59d..2ed881bd 100644 --- a/src/helper_inbox.py +++ b/src/helper_inbox.py @@ -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(