diff --git a/src/class_singleWorker.py b/src/class_singleWorker.py index 1e712c8e..b10e1919 100644 --- a/src/class_singleWorker.py +++ b/src/class_singleWorker.py @@ -819,7 +819,7 @@ class singleWorker(threading.Thread): # Update the status of the message in the 'sent' table to have a # 'msgsent' status or 'msgsentnoackexpected' status. - if not shared.config.has_section(toaddress): + if shared.config.has_section(toaddress): newStatus = 'msgsentnoackexpected' else: newStatus = 'msgsent'