| 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, "+", ' '); |