comparison libpurple/conversation.c @ 18026:c3d03dd25434

use the new NO_LINKIFY flag for join and part messages
author Nathan Walp <nwalp@pidgin.im>
date Fri, 01 Jun 2007 00:47:11 +0000
parents 7790021b1270
children 2754427b85ca
comparison
equal deleted inserted replaced
18025:7790021b1270 18026:c3d03dd25434
1578 escaped, escaped2); 1578 escaped, escaped2);
1579 g_free(escaped2); 1579 g_free(escaped2);
1580 } 1580 }
1581 g_free(escaped); 1581 g_free(escaped);
1582 1582
1583 purple_conversation_write(conv, NULL, tmp, PURPLE_MESSAGE_SYSTEM, time(NULL)); 1583 purple_conversation_write(conv, NULL, tmp,
1584 PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY,
1585 time(NULL));
1584 g_free(tmp); 1586 g_free(tmp);
1585 } 1587 }
1586 1588
1587 purple_signal_emit(purple_conversations_get_handle(), 1589 purple_signal_emit(purple_conversations_get_handle(),
1588 "chat-buddy-joined", conv, user, flag, new_arrivals); 1590 "chat-buddy-joined", conv, user, flag, new_arrivals);
1779 escaped, escaped2); 1781 escaped, escaped2);
1780 g_free(escaped2); 1782 g_free(escaped2);
1781 } 1783 }
1782 g_free(escaped); 1784 g_free(escaped);
1783 1785
1784 purple_conversation_write(conv, NULL, tmp, PURPLE_MESSAGE_SYSTEM, time(NULL)); 1786 purple_conversation_write(conv, NULL, tmp,
1787 PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY,
1788 time(NULL));
1785 g_free(tmp); 1789 g_free(tmp);
1786 } 1790 }
1787 1791
1788 purple_signal_emit(purple_conversations_get_handle(), "chat-buddy-left", 1792 purple_signal_emit(purple_conversations_get_handle(), "chat-buddy-left",
1789 conv, user, reason); 1793 conv, user, reason);