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:
Jonathan Warren 2013-05-15 15:04:44 -07:00
commit f44322239e
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ class receiveDataThread(threading.Thread):
toLabel = shared.config.get(toAddress, 'label')
if toLabel == '':
toLabel = addressInKeysFile
toLabel = toAddress
if messageEncodingType == 2:
bodyPositionIndex = string.find(message,'\nBody:')