removed global streamNumber
will be autoset I guess
This commit is contained in:
parent
b119de414a
commit
2849ae7641
|
@ -706,9 +706,12 @@ def handlech(c, stdscr):
|
||||||
if menutab == 7:
|
if menutab == 7:
|
||||||
blackcur = len(blackcur)-1
|
blackcur = len(blackcur)-1
|
||||||
redraw(stdscr)
|
redraw(stdscr)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False):
|
def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False):
|
||||||
global streamNumber
|
#global streamNumber
|
||||||
streamNumber = 0
|
#streamNumber = 0
|
||||||
# 0 = Auto , 1 = stream 1 is the only supported stream currently
|
# 0 = Auto , 1 = stream 1 is the only supported stream currently
|
||||||
if sender == "":
|
if sender == "":
|
||||||
return
|
return
|
||||||
|
@ -785,7 +788,8 @@ def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=F
|
||||||
scrollbox(d, unicode("Because you are not currently connected \
|
scrollbox(d, unicode("Because you are not currently connected \
|
||||||
to the network, the BM will not be sent right now"))
|
to the network, the BM will not be sent right now"))
|
||||||
stealthLevel = BMConfigParser().safeGetInt('bitmessagesettings', 'ackstealthlevel')
|
stealthLevel = BMConfigParser().safeGetInt('bitmessagesettings', 'ackstealthlevel')
|
||||||
ackdata = genAckPayload(streamNumber, stealthLevel)
|
#ackdata = genAckPayload(streamNumber, stealthLevel)
|
||||||
|
ackdata = genAckPayload( stealthLevel=stealthLevel)
|
||||||
sqlExecute(
|
sqlExecute(
|
||||||
"INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
|
"INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
|
||||||
"",
|
"",
|
||||||
|
|
Reference in New Issue
Block a user