Merge pull request #154 from Atheros1/master
Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message
This commit is contained in:
commit
f44322239e
|
@ -1072,7 +1072,7 @@ class receiveDataThread(threading.Thread):
|
||||||
|
|
||||||
toLabel = shared.config.get(toAddress, 'label')
|
toLabel = shared.config.get(toAddress, 'label')
|
||||||
if toLabel == '':
|
if toLabel == '':
|
||||||
toLabel = addressInKeysFile
|
toLabel = toAddress
|
||||||
|
|
||||||
if messageEncodingType == 2:
|
if messageEncodingType == 2:
|
||||||
bodyPositionIndex = string.find(message,'\nBody:')
|
bodyPositionIndex = string.find(message,'\nBody:')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user