# HG changeset patch # User Mark Doliner # Date 1229988074 0 # Node ID 1d77f138847b16033b6eecc3cdc61fa6b35aee4c # Parent 667b8ae0fceec2071c64106e88e17b15ca953e14 This is a bitmask, and the "c" value here should be the least significant bit diff -r 667b8ae0fcee -r 1d77f138847b libpurple/protocols/myspace/session.h --- 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 */ diff -r 667b8ae0fcee -r 1d77f138847b libpurple/protocols/myspace/user.c --- 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) {