Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message #154
|
@ -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:')
|
||||||
|
|
Reference in New Issue
Block a user