This repository has been archived on 2024-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-04/src/helper_inbox.py

10 lines
277 B
Python
Raw Normal View History

2013-08-27 14:13:40 +02:00
from helper_sql import *
def insert(t):
2013-08-27 14:13:40 +02:00
sqlExecute('''INSERT INTO inbox VALUES (?,?,?,?,?,?,?,?,?)''', *t)
def trash(msgid):
2013-08-27 14:13:40 +02:00
sqlExecute('''UPDATE inbox SET folder='trash' WHERE msgid=?''', msgid)
shared.UISignalQueue.put(('removeInboxRowByMsgid',msgid))