Mercurial > pidgin
comparison libpurple/prpl.c @ 29135:7a6c114c1a49
Use purple_prpl_got_media_caps in purple_prpl_got_user_status to remove media
caps when the buddy goes offline.
author | maiku@pidgin.im |
---|---|
date | Tue, 20 Oct 2009 20:41:23 +0000 |
parents | 4f14b03a9d50 |
children | 33715feb7b8d |
comparison
equal
deleted
inserted
replaced
29134:4f14b03a9d50 | 29135:7a6c114c1a49 |
---|---|
286 | 286 |
287 g_slist_free(list); | 287 g_slist_free(list); |
288 | 288 |
289 /* The buddy is no longer online, they are therefore by definition not | 289 /* The buddy is no longer online, they are therefore by definition not |
290 * still typing to us. */ | 290 * still typing to us. */ |
291 if (!purple_status_is_online(status)) | 291 if (!purple_status_is_online(status)) { |
292 serv_got_typing_stopped(purple_account_get_connection(account), name); | 292 serv_got_typing_stopped(purple_account_get_connection(account), name); |
293 purple_prpl_got_media_caps(account, name); | |
294 } | |
293 } | 295 } |
294 | 296 |
295 void purple_prpl_got_user_status_deactive(PurpleAccount *account, const char *name, | 297 void purple_prpl_got_user_status_deactive(PurpleAccount *account, const char *name, |
296 const char *status_id) | 298 const char *status_id) |
297 { | 299 { |