Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message #154

Merged
Atheros1 merged 2 commits from master into master 2013-05-16 00:04:44 +02:00

View File

@ -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:')