Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/libpurple/prpl.c Tue Oct 20 20:06:25 2009 +0000 +++ b/libpurple/prpl.c Tue Oct 20 20:41:23 2009 +0000 @@ -288,8 +288,10 @@ /* The buddy is no longer online, they are therefore by definition not * still typing to us. */ - if (!purple_status_is_online(status)) + if (!purple_status_is_online(status)) { serv_got_typing_stopped(purple_account_get_connection(account), name); + purple_prpl_got_media_caps(account, name); + } } void purple_prpl_got_user_status_deactive(PurpleAccount *account, const char *name,
