diff options
| -rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index e10d285b74..df2a582355 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1572,11 +1572,9 @@ void CJabberProto::OnProcessPresence(const TiXmlElement *node, ThreadData *info)  		}
  		int idleTime = 0;
 -		if (auto *idle = XmlGetChildByTag(node, "idle", "xmlns", JABBER_FEAT_IDLE)) {
 -			status = ID_STATUS_IDLE;
 +		if (auto *idle = XmlGetChildByTag(node, "idle", "xmlns", JABBER_FEAT_IDLE))
  			if (auto *szSince = XmlGetAttr(idle, "since"))
  				idleTime = str2time(szSince);
 -		}
  		int priority = XmlGetChildInt(node, "priority");
  		const char *pszStatus = XmlGetChildText(node, "status");
  | 
