changeset 24482:39841a84c944

A fix from Paul Aurich for a long-standing XMPP issue with duplicate buddies. Fixes #479.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 21 Nov 2008 19:49:47 +0000
parents f387ded6f5ed
children 4d50b5d09d4a c26d9f806322 805aadbb1a85
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Fri Nov 21 16:48:15 2008 +0000
+++ b/libpurple/protocols/jabber/presence.c	Fri Nov 21 19:49:47 2008 +0000
@@ -459,7 +459,7 @@
 
 		if (buddy) {
 			jb = jabber_buddy_find(js, from, TRUE);
-			if ((jb->subscription & JABBER_SUB_TO))
+			if ((jb->subscription & (JABBER_SUB_TO | JABBER_SUB_PENDING)))
 				onlist = TRUE;
 		}