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 18:02:35 +01:00
parent eb39103cd7
commit cc6f16e65a
2 changed files with 33 additions and 25 deletions
Executable → Regular
+2 -2
View File
@@ -642,8 +642,8 @@ class Message : public AttributedItem {
/** the system time when the message content was last changed, 0 for never. */
time_t m_lastChangeTime;
/** the number of times this messages was already polled for. */
unsigned int m_pollCount;
/** the polling order of this message (roughly number of polls * priority). */
unsigned int m_pollOrder;
/** the system time when this message was last polled for, 0 for never. */
time_t m_lastPollTime;