Mercurial > pidgin.yaz
changeset 27569:65b5bc543214
Remove this; it's been commented out for about 3.5 years.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 06 Jun 2009 22:47:49 +0000 |
parents | ff099a916d6b |
children | 93a41017dca9 |
files | libpurple/protocols/jabber/roster.c |
diffstat | 1 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/roster.c Sat Jun 06 22:38:15 2009 +0000 +++ b/libpurple/protocols/jabber/roster.c Sat Jun 06 22:47:49 2009 +0000 @@ -194,20 +194,9 @@ jb->subscription = JABBER_SUB_BOTH; else if(!strcmp(subscription, "remove")) jb->subscription = JABBER_SUB_REMOVE; - /* XXX: if subscription is now "from" or "none" we need to - * fake a signoff, since we won't get any presence from them - * anymore */ - /* YYY: I was going to use this, but I'm not sure it's necessary - * anymore, but it's here in case it is. */ - /* - if ((jb->subscription & JABBER_SUB_FROM) || - (jb->subscription & JABBER_SUB_NONE)) { - purple_prpl_got_user_status(js->gc->account, jid, "offline", NULL); - } - */ } - if(ask && !strcmp(ask, "subscribe")) + if(purple_strequal(ask, "subscribe")) jb->subscription |= JABBER_SUB_PENDING; else jb->subscription &= ~JABBER_SUB_PENDING;