[miranda] r14463 committed - Jabber resource issue. Fixes issue 1741.

2 views
Skip to first unread message

mir...@googlecode.com

unread,
Apr 5, 2014, 4:28:53 PM4/5/14
to miranda-i...@googlegroups.com
Revision: 14463
Author: rain...@gmail.com
Date: Sat Apr 5 20:28:13 2014 UTC
Log: Jabber resource issue. Fixes issue 1741.
http://code.google.com/p/miranda/source/detail?r=14463

Modified:
/trunk/miranda/protocols/JabberG/jabber_list.cpp

=======================================
--- /trunk/miranda/protocols/JabberG/jabber_list.cpp Tue Oct 23 02:53:43
2012 UTC
+++ /trunk/miranda/protocols/JabberG/jabber_list.cpp Sat Apr 5 20:28:13
2014 UTC
@@ -348,7 +348,9 @@
TCHAR* res = NULL;

JABBER_LIST_ITEM* LI = m_lstRoster[i-1];
- if ( LI->resourceCount > 1 ) {
+ if ( LI->resourceCount >= 1 ) {
+ if (!res && LI->resource)
+ res = LI->resource[0].resourceName;
if (LI->resourceMode == RSMODE_MANUAL && LI->manualResource )
res = LI->manualResource->resourceName;
else {
Reply all
Reply to author
Forward
0 new messages