| 944 alias_esc, extra_msg_esc); |
944 alias_esc, extra_msg_esc); |
| 945 g_free(extra_msg_esc); |
945 g_free(extra_msg_esc); |
| 946 } |
946 } |
| 947 g_free(alias_esc); |
947 g_free(alias_esc); |
| 948 |
948 |
| 949 purple_conversation_write(conv, NULL, tmp, |
949 purple_conversation_write_system_message( |
| 950 PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY, |
950 conv, tmp, PURPLE_MESSAGE_NO_LINKIFY); |
| 951 time(NULL)); |
|
| 952 g_free(tmp); |
951 g_free(tmp); |
| 953 } |
952 } |
| 954 |
953 |
| 955 purple_signal_emit(purple_conversations_get_handle(), |
954 purple_signal_emit(purple_conversations_get_handle(), |
| 956 "chat-user-joined", chat, user, flag, new_arrivals); |
955 "chat-user-joined", chat, user, flag, new_arrivals); |
| 1075 _("%s is now known as %s"), escaped, escaped2); |
1074 _("%s is now known as %s"), escaped, escaped2); |
| 1076 g_free(escaped); |
1075 g_free(escaped); |
| 1077 g_free(escaped2); |
1076 g_free(escaped2); |
| 1078 } |
1077 } |
| 1079 |
1078 |
| 1080 purple_conversation_write(conv, NULL, tmp, |
1079 purple_conversation_write_system_message(conv, |
| 1081 PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY, |
1080 tmp, PURPLE_MESSAGE_NO_LINKIFY); |
| 1082 time(NULL)); |
|
| 1083 } |
1081 } |
| 1084 } |
1082 } |
| 1085 |
1083 |
| 1086 void |
1084 void |
| 1087 purple_chat_conversation_remove_user(PurpleChatConversation *chat, const char *user, const char *reason) |
1085 purple_chat_conversation_remove_user(PurpleChatConversation *chat, const char *user, const char *reason) |
| 1156 alias_esc, reason_esc); |
1154 alias_esc, reason_esc); |
| 1157 g_free(reason_esc); |
1155 g_free(reason_esc); |
| 1158 } |
1156 } |
| 1159 g_free(alias_esc); |
1157 g_free(alias_esc); |
| 1160 |
1158 |
| 1161 purple_conversation_write(conv, NULL, tmp, |
1159 purple_conversation_write_system_message(conv, |
| 1162 PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY, |
1160 tmp, PURPLE_MESSAGE_NO_LINKIFY); |
| 1163 time(NULL)); |
|
| 1164 g_free(tmp); |
1161 g_free(tmp); |
| 1165 } |
1162 } |
| 1166 |
1163 |
| 1167 purple_signal_emit(purple_conversations_get_handle(), "chat-user-left", |
1164 purple_signal_emit(purple_conversations_get_handle(), "chat-user-left", |
| 1168 conv, user, reason); |
1165 conv, user, reason); |