Mercurial > pidgin.yaz
comparison src/protocols/jabber/presence.c @ 7232:10450fdde320
[gaim-migrate @ 7804]
oops
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 11 Oct 2003 01:39:38 +0000 |
parents | 89dc8a119918 |
children | 8a2e22478242 |
comparison
equal
deleted
inserted
replaced
7231:79e33c8ecf16 | 7232:10450fdde320 |
---|---|
125 static void deny_add_cb(struct _jabber_add_permit *jap) | 125 static void deny_add_cb(struct _jabber_add_permit *jap) |
126 { | 126 { |
127 if(g_list_find(gaim_connections_get_all(), jap->gc)) { | 127 if(g_list_find(gaim_connections_get_all(), jap->gc)) { |
128 jabber_presence_subscription_set(jap->gc->proto_data, jap->who, | 128 jabber_presence_subscription_set(jap->gc->proto_data, jap->who, |
129 "unsubscribed"); | 129 "unsubscribed"); |
130 | |
131 if(!gaim_find_buddy(jap->gc->account, jap->who)) | |
132 gaim_account_notify_added(jap->gc->account, NULL, jap->who, NULL, NULL); | |
133 } | 130 } |
134 | 131 |
135 g_free(jap->who); | 132 g_free(jap->who); |
136 g_free(jap); | 133 g_free(jap); |
137 } | 134 } |