parent
538642f236
commit
4f6fd07424
|
@ -142,7 +142,6 @@ class addressGenerator(threading.Thread, StoppableThread):
|
|||
|
||||
# The API and the join and create Chan functionality
|
||||
# both need information back from the address generator.
|
||||
if shared.safeConfigGetBoolean('bitmessagesettings', 'apienabled'):
|
||||
shared.apiAddressGeneratorReturnQueue.put(address)
|
||||
|
||||
shared.UISignalQueue.put((
|
||||
|
@ -209,7 +208,6 @@ class addressGenerator(threading.Thread, StoppableThread):
|
|||
# If we are joining an existing chan, let us check to make sure it matches the provided Bitmessage address
|
||||
if command == 'joinChan':
|
||||
if address != chanAddress:
|
||||
if shared.safeConfigGetBoolean('bitmessagesettings', 'apienabled'):
|
||||
shared.apiAddressGeneratorReturnQueue.put('chan name does not match address')
|
||||
saveAddressToDisk = False
|
||||
if command == 'getDeterministicAddress':
|
||||
|
@ -281,7 +279,6 @@ class addressGenerator(threading.Thread, StoppableThread):
|
|||
|
||||
|
||||
# Done generating addresses.
|
||||
if shared.safeConfigGetBoolean('bitmessagesettings', 'apienabled'):
|
||||
if command == 'createDeterministicAddresses' or command == 'joinChan' or command == 'createChan':
|
||||
shared.apiAddressGeneratorReturnQueue.put(
|
||||
listOfNewAddressesToSendOutThroughTheAPI)
|
||||
|
|
Loading…
Reference in New Issue
Block a user