pidgin: 0ecf4db3: This is a bitmask, and the "c" value her...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Dec 22 18:25:34 EST 2008
-----------------------------------------------------------------
Revision: 0ecf4db34124b7431f9f46ee8265d81fc0b0e11d
Ancestor: 827f7bc973ac3d363ae9106b6e022b358fb364a5
Author: markdoliner at pidgin.im
Date: 2008-12-22T23:21:14
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0ecf4db34124b7431f9f46ee8265d81fc0b0e11d
Modified files:
libpurple/protocols/myspace/session.h
libpurple/protocols/myspace/user.c
ChangeLog:
This is a bitmask, and the "c" value here should be the least significant
bit
-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/session.h d23dd8e17700769dbd0ab2617783f5da4ec36f50
+++ libpurple/protocols/myspace/session.h 3baae9e8d22cd26b2e14d04cbd30667fb8abf211
@@ -35,7 +35,7 @@ typedef struct _MsimSession
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 */
============================================================
--- libpurple/protocols/myspace/user.c c67d4a253923bb218ddfeb7b32d7700756b5225a
+++ libpurple/protocols/myspace/user.c c2a79a2f3df397e594a0ab8e288813f952e59787
@@ -432,7 +432,7 @@ msim_store_user_info(MsimSession *sessio
"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) {
More information about the Commits
mailing list