Mercurial > pidgin.yaz
changeset 24832:1d77f138847b
This is a bitmask, and the "c" value here should be the least significant
bit
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 22 Dec 2008 23:21:14 +0000 |
parents | 667b8ae0fcee |
children | afee51d10412 |
files | libpurple/protocols/myspace/session.h libpurple/protocols/myspace/user.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/session.h Mon Dec 22 23:08:26 2008 +0000 +++ b/libpurple/protocols/myspace/session.h Mon Dec 22 23:21:14 2008 +0000 @@ -35,7 +35,7 @@ guint userid; /**< This user's numeric user ID */ gchar *username; /**< This user's unique username */ gboolean show_only_to_list; - int privacy_mode; + int privacy_mode; /**< This is a bitmask */ int offline_message_mode; gint fd; /**< File descriptor to/from server */
--- a/libpurple/protocols/myspace/user.c Mon Dec 22 23:08:26 2008 +0000 +++ b/libpurple/protocols/myspace/user.c Mon Dec 22 23:21:14 2008 +0000 @@ -432,7 +432,7 @@ "idlist", MSIM_TYPE_STRING, g_strdup_printf("w%d|c%d", session->show_only_to_list ? 1 : 0, - session->privacy_mode), + session->privacy_mode & 1), NULL); } else if (msim_msg_get_integer(msg, "dsn") == MG_OWN_MYSPACE_INFO_DSN && msim_msg_get_integer(msg, "lid") == MG_OWN_MYSPACE_INFO_LID) {