From ab974abce0794089e5392285be366325d3c9bf8c Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sat, 13 Feb 2016 19:33:50 +0100 Subject: [PATCH] Sent message status on ACK Fixes #176 --- src/class_singleWorker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class_singleWorker.py b/src/class_singleWorker.py index 336c5059..e1e71734 100644 --- a/src/class_singleWorker.py +++ b/src/class_singleWorker.py @@ -812,7 +812,7 @@ class singleWorker(threading.Thread, StoppableThread): shared.inventory[inventoryHash] = ( objectType, toStreamNumber, encryptedPayload, embeddedTime, '') shared.inventorySets[toStreamNumber].add(inventoryHash) - if shared.config.has_section(toaddress) or shared.safeConfigGetBoolean(toaddress, 'dontsendack'): + if shared.config.has_section(toaddress) or not checkBitfield(behaviorBitfield, shared.BITFIELD_DOESACK): shared.UISignalQueue.put(('updateSentItemStatusByAckdata', (ackdata, tr.translateText("MainWindow", "Message sent. Sent on %1").arg(l10n.formatTimestamp())))) else: # not sending to a chan or one of my addresses