fix for messages with later set poll priority being preferred before others in the poll sequence

This commit is contained in:
john30
2019-01-13 20:52:00 +01:00
parent cc6f16e65a
commit fa434e5151
+1 -1
View File
@@ -616,7 +616,7 @@ bool Message::isLessPollWeight(const Message* other) const {
if (m_pollPriority > other->m_pollPriority) {
return true;
}
if (m_pollPriority < m_pollPriority) {
if (m_pollPriority < other->m_pollPriority) {
return false;
}
return m_lastPollTime > other->m_lastPollTime;