libpurple/protocols/myspace/myspace.c

branch
soc.2007.msimprpl
changeset 19153
48e2f107fb0c
parent 19152
4cfa0cbe4cb8
child 19157
6e6b5596c49a
equal deleted inserted replaced
19152:4cfa0cbe4cb8 19153:48e2f107fb0c
2063 const gchar *username; 2063 const gchar *username;
2064 2064
2065 /* 'f' = userid message is from, in buddy messages */ 2065 /* 'f' = userid message is from, in buddy messages */
2066 uid = msim_msg_get_integer(msg, "f"); 2066 uid = msim_msg_get_integer(msg, "f");
2067 2067
2068 /* TODO: Make caching work. Currently it is commented out because
2069 * it crashes for unknown reasons, memory realloc error. */
2070 #if 0
2071 username = msim_uid2username_from_blist(session, uid); 2068 username = msim_uid2username_from_blist(session, uid);
2072 #else
2073 username = NULL;
2074 #endif
2075 2069
2076 if (username) { 2070 if (username) {
2077 /* Know username already, use it. */ 2071 /* Know username already, use it. */
2078 purple_debug_info("msim", "msim_preprocess_incoming: tagging with _username=%s\n", 2072 purple_debug_info("msim", "msim_preprocess_incoming: tagging with _username=%s\n",
2079 username); 2073 username);

mercurial