libpurple/protocols/yahoo/libyahoo.c

branch
soc.2013.gobjectification
changeset 34627
08733a7475df
parent 34622
753f46dd000f
child 34635
bbecf6e1daee
equal deleted inserted replaced
34626:b8b3186aff95 34627:08733a7475df
113 char *message = g_hash_table_lookup(params, "m"); 113 char *message = g_hash_table_lookup(params, "m");
114 114
115 PurpleConversation *conv = purple_conversations_find_with_account( 115 PurpleConversation *conv = purple_conversations_find_with_account(
116 PURPLE_CONV_TYPE_IM, sname, acct); 116 PURPLE_CONV_TYPE_IM, sname, acct);
117 if (conv == NULL) 117 if (conv == NULL)
118 conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, acct, sname); 118 conv = purple_im_conversation_new(acct, sname);
119 purple_conversation_present(conv); 119 purple_conversation_present(conv);
120 120
121 if (message) { 121 if (message) {
122 /* Spaces are encoded as '+' */ 122 /* Spaces are encoded as '+' */
123 g_strdelimit(message, "+", ' '); 123 g_strdelimit(message, "+", ' ');

mercurial