diff --git a/src/bitmessagecurses/__init__.py b/src/bitmessagecurses/__init__.py index 1e738a6c..e917d793 100644 --- a/src/bitmessagecurses/__init__.py +++ b/src/bitmessagecurses/__init__.py @@ -708,11 +708,10 @@ def handlech(c, stdscr): redraw(stdscr) - def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False): - #global streamNumber - #streamNumber = 0 - # 0 = Auto , 1 = stream 1 is the only supported stream currently + # global streamNumber + # streamNumber = 0 + # 0 = Auto , 1 = stream 1 is the only supported stream currently if sender == "": return d = Dialog(dialog="dialog") @@ -790,8 +789,7 @@ def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=F stealthLevel = BMConfigParser().safeGetInt('bitmessagesettings', 'ackstealthlevel') #ackdata = genAckPayload(streamNumber, stealthLevel) ackdata = genAckPayload( stealthLevel=stealthLevel) - sqlExecute( - "INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", + sqlExecute("INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", "", addr, ripe,