| 372 |
372 |
| 373 static void |
373 static void |
| 374 gntmedia_message_cb(FinchMedia *gntmedia, const char *msg, PurpleConversation *conv) |
374 gntmedia_message_cb(FinchMedia *gntmedia, const char *msg, PurpleConversation *conv) |
| 375 { |
375 { |
| 376 if (PURPLE_IS_IM_CONVERSATION(conv)) { |
376 if (PURPLE_IS_IM_CONVERSATION(conv)) { |
| 377 purple_conversation_write_message(conv, NULL, msg, PURPLE_MESSAGE_SYSTEM, time(NULL)); |
377 purple_conversation_write_system_message(conv, msg, 0); |
| 378 } |
378 } |
| 379 } |
379 } |
| 380 |
380 |
| 381 static gboolean |
381 static gboolean |
| 382 finch_new_media(PurpleMediaManager *manager, PurpleMedia *media, |
382 finch_new_media(PurpleMediaManager *manager, PurpleMedia *media, |