Mercurial > pidgin
comparison libpurple/protocols/myspace/myspace.c @ 17974:3d400b022acc
Disable sending third-party client version to oncoming buddies.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sat, 04 Aug 2007 17:49:47 +0000 |
parents | acff371d7908 |
children | b2d81d13f015 |
comparison
equal
deleted
inserted
replaced
17973:acff371d7908 | 17974:3d400b022acc |
---|---|
2801 } else { | 2801 } else { |
2802 /* All other statuses indicate going back to non-idle. */ | 2802 /* All other statuses indicate going back to non-idle. */ |
2803 purple_prpl_got_user_idle(session->account, username, FALSE, time(NULL)); | 2803 purple_prpl_got_user_idle(session->account, username, FALSE, time(NULL)); |
2804 } | 2804 } |
2805 | 2805 |
2806 #ifdef MSIM_SEND_CLIENT_VERSION | |
2806 if (status_code == MSIM_STATUS_CODE_ONLINE) | 2807 if (status_code == MSIM_STATUS_CODE_ONLINE) |
2807 { | 2808 { |
2808 /* Secretly whisper to unofficial clients our own version as they come online */ | 2809 /* Secretly whisper to unofficial clients our own version as they come online */ |
2809 msim_send_unofficial_client(session, username); | 2810 msim_send_unofficial_client(session, username); |
2810 } | 2811 } |
2812 #endif | |
2811 | 2813 |
2812 g_free(username); | 2814 g_free(username); |
2813 msim_msg_list_free(list); | 2815 msim_msg_list_free(list); |
2814 | 2816 |
2815 return TRUE; | 2817 return TRUE; |