Index: src/clientbase.cpp
===================================================================
--- src/clientbase.cpp	(revision 4781)
+++ src/clientbase.cpp	(working copy)
@@ -1691,7 +1691,7 @@
       if( (*it1)->target().full() == msg.from().full() &&
             ( msg.thread().empty()
               || (*it1)->threadID() == msg.thread()
-              || (*it1)->honorThreadID() ) &&
+              || !(*it1)->honorThreadID() ) &&
 // FIXME don't use '== 0' here
             ( (*it1)->types() & msg.subtype() || (*it1)->types() == 0 ) )
       {
@@ -1706,7 +1706,7 @@
       if( (*it1)->target().bare() == msg.from().bare() &&
             ( msg.thread().empty()
               || (*it1)->threadID() == msg.thread()
-              || (*it1)->honorThreadID() ) &&
+              || !(*it1)->honorThreadID() ) &&
 // FIXME don't use '== 0' here
             ( (*it1)->types() & msg.subtype() || (*it1)->types() == 0 ) )
       {