Mercurial > pidgin
diff src/protocols/jabber/buddy.c @ 8185:3a229ad2fab0
[gaim-migrate @ 8906]
take 1 of UberUglyHack
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 30 Jan 2004 21:56:31 +0000 |
parents | ac7bf273bd66 |
children | 8d41a4250bb7 |
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c Thu Jan 29 17:39:32 2004 +0000 +++ b/src/protocols/jabber/buddy.c Fri Jan 30 21:56:31 2004 +0000 @@ -912,7 +912,9 @@ */ - if(js->protocol_version == JABBER_PROTO_0_9) { + /* XXX: fix the NOT ME below */ + + if(js->protocol_version == JABBER_PROTO_0_9 /* && NOT ME */) { pbm = g_new0(struct proto_buddy_menu, 1); if(jb->invisible & JABBER_INVIS_BUDDY) { pbm->label = _("Un-hide From"); @@ -925,7 +927,7 @@ m = g_list_append(m, pbm); } - if(jb->subscription & JABBER_SUB_FROM) { + if(jb->subscription & JABBER_SUB_FROM /* && NOT ME */) { pbm = g_new0(struct proto_buddy_menu, 1); pbm->label = _("Cancel Presence Notification"); pbm->callback = jabber_buddy_cancel_presence_notification; @@ -939,7 +941,7 @@ pbm->callback = jabber_buddy_rerequest_auth; pbm->gc = gc; m = g_list_append(m, pbm); - } else { + } else /* if(NOT ME) */{ pbm = g_new0(struct proto_buddy_menu, 1); pbm->label = _("Unsubscribe"); pbm->callback = jabber_buddy_unsubscribe;