pidgin/pidginconversation.c

changeset 43100
e6df74d36862
parent 43099
60174e318ecc
child 43129
c72c9ce63177
equal deleted inserted replaced
43099:60174e318ecc 43100:e6df74d36862
128 conversation->conversation, 128 conversation->conversation,
129 contents + 1); 129 contents + 1);
130 } 130 }
131 131
132 if(!command_executed) { 132 if(!command_executed) {
133 PurpleConversationMember *author = NULL;
134
133 /* Create the message. */ 135 /* Create the message. */
134 info = purple_account_get_contact_info(account); 136 info = purple_account_get_contact_info(account);
135 message = purple_message_new(info, contents); 137 author = purple_conversation_find_or_add_member(conversation->conversation,
138 info, FALSE, NULL);
139 message = purple_message_new(author, contents);
136 140
137 /* Send the message and clean up. We don't worry about the callback as we 141 /* Send the message and clean up. We don't worry about the callback as we
138 * don't have anything to do in it right now. 142 * don't have anything to do in it right now.
139 */ 143 */
140 purple_conversation_send_message_async(conversation->conversation, message, 144 purple_conversation_send_message_async(conversation->conversation, message,

mercurial