comparison src/protocols/jabber/presence.c @ 7015:dece74f05509

[gaim-migrate @ 7578] Further core/UI splittage. show_got_added() -> gaim_account_notify_added() committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 29 Sep 2003 15:28:20 +0000
parents 67c4e9d39242
children c8bf2da398e3
comparison
equal deleted inserted replaced
7014:67c4e9d39242 7015:dece74f05509
113 if(g_list_find(gaim_connections_get_all(), jap->gc)) { 113 if(g_list_find(gaim_connections_get_all(), jap->gc)) {
114 jabber_presence_subscription_set(jap->gc->proto_data, jap->who, 114 jabber_presence_subscription_set(jap->gc->proto_data, jap->who,
115 "subscribed"); 115 "subscribed");
116 116
117 if(!gaim_find_buddy(jap->gc->account, jap->who)) 117 if(!gaim_find_buddy(jap->gc->account, jap->who))
118 show_got_added(jap->gc, NULL, jap->who, NULL, NULL); 118 gaim_account_notify_added(jap->gc->account, NULL, jap->who, NULL, NULL);
119 } 119 }
120 120
121 g_free(jap->who); 121 g_free(jap->who);
122 g_free(jap); 122 g_free(jap);
123 } 123 }
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 130
131 if(!gaim_find_buddy(jap->gc->account, jap->who)) 131 if(!gaim_find_buddy(jap->gc->account, jap->who))
132 show_got_added(jap->gc, NULL, jap->who, NULL, NULL); 132 gaim_account_notify_added(jap->gc->account, NULL, jap->who, NULL, NULL);
133 } 133 }
134 134
135 g_free(jap->who); 135 g_free(jap->who);
136 g_free(jap); 136 g_free(jap);
137 } 137 }