Mercurial > pidgin
changeset 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 | 496affa42816 |
files | libpurple/protocols/myspace/myspace.c libpurple/protocols/myspace/myspace.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Sat Aug 04 17:43:37 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Sat Aug 04 17:49:47 2007 +0000 @@ -2803,11 +2803,13 @@ purple_prpl_got_user_idle(session->account, username, FALSE, time(NULL)); } +#ifdef MSIM_SEND_CLIENT_VERSION if (status_code == MSIM_STATUS_CODE_ONLINE) { /* Secretly whisper to unofficial clients our own version as they come online */ msim_send_unofficial_client(session, username); } +#endif g_free(username); msim_msg_list_free(list);
--- a/libpurple/protocols/myspace/myspace.h Sat Aug 04 17:43:37 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Sat Aug 04 17:49:47 2007 +0000 @@ -51,6 +51,8 @@ #include "message.h" /* Conditional compilation options */ +/* Send third-party client version? (Recognized by us and Miranda's plugin) */ +/*#define MSIM_SEND_CLIENT_VERSION */ /* Debugging options */ /*#define MSIM_DEBUG_MSG */