comparison libpurple/protocols/msn/state.c @ 31558:ce968e115c95

propagate from branch 'im.pidgin.cpw.masca.p2p' (head 33ca865dacb9e5bcf763d06f6a42cbaca337cc64) to branch 'im.pidgin.pidgin' (head 92f47f4e8b0cbb107fd97e1ab814d1cedbf109ad)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 06 May 2011 06:25:14 +0000
parents d235da74af79
children 4542143a38b2
comparison
equal deleted inserted replaced
31557:f021d93a1f9b 31558:ce968e115c95
215 if (ui_info) { 215 if (ui_info) {
216 const gchar *client_type = g_hash_table_lookup(ui_info, "client_type"); 216 const gchar *client_type = g_hash_table_lookup(ui_info, "client_type");
217 if (client_type) { 217 if (client_type) {
218 if (strcmp(client_type, "phone") == 0 || 218 if (strcmp(client_type, "phone") == 0 ||
219 strcmp(client_type, "handheld") == 0) { 219 strcmp(client_type, "handheld") == 0) {
220 caps |= MSN_CLIENT_CAP_WIN_MOBILE; 220 caps |= MSN_CAP_VIA_MOBILE;
221 } else if (strcmp(client_type, "web") == 0) { 221 } else if (strcmp(client_type, "web") == 0) {
222 caps |= MSN_CLIENT_CAP_WEBMSGR; 222 caps |= MSN_CAP_VIA_WEBIM;
223 } else if (strcmp(client_type, "bot") == 0) { 223 } else if (strcmp(client_type, "bot") == 0) {
224 caps |= MSN_CLIENT_CAP_BOT; 224 caps |= MSN_CAP_BOT;
225 } 225 }
226 /* MSN doesn't a "console" type... 226 /* MSN doesn't a "console" type...
227 What, they have no ncurses UI? :-) */ 227 What, they have no ncurses UI? :-) */
228 } 228 }
229 } 229 }
230 230
231 account = session->account; 231 account = session->account;