Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: protocols/jabber/jabberbasecontact.cpp
- ===================================================================
- --- protocols/jabber/jabberbasecontact.cpp (revision 1311379)
- +++ protocols/jabber/jabberbasecontact.cpp (working copy)
- @@ -143,14 +143,15 @@
- * that information.
- */
- Kopete::GroupList groupsToRemoveFrom, groupsToAddTo;
- -
- +
- // find all groups our contact is in but that are not in the server side roster
- - for ( int i = 0; i < metaContact()->groups().count (); i++ )
- - {
- - if ( !item.groups().contains ( metaContact()->groups().at(i)->displayName () ) )
- - groupsToRemoveFrom.append ( metaContact()->groups().at ( i ) );
- - }
- -
- + if (item.jid().domain() != "chat.facebook.com")
- + for ( int i = 0; i < metaContact()->groups().count (); i++ )
- + {
- + if ( !item.groups().contains ( metaContact()->groups().at(i)->displayName () ) )
- + groupsToRemoveFrom.append ( metaContact()->groups().at ( i ) );
- + }
- +
- // now find all groups that are in the server side roster but not in the local group
- for ( int i = 0; i < item.groups().count (); i++ )
- {
Advertisement
Add Comment
Please, Sign In to add comment