comparison libpurple/protocols/msn/msg.c @ 32767:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents 10e5000326a5
children 4a34689eeb33
comparison
equal deleted inserted replaced
32766:ea2b621fd3ba 32767:2ec94166be43
686 { 686 {
687 swboard->conv = purple_find_chat(gc, swboard->chat_id); 687 swboard->conv = purple_find_chat(gc, swboard->chat_id);
688 swboard->flag |= MSN_SB_FLAG_IM; 688 swboard->flag |= MSN_SB_FLAG_IM;
689 } 689 }
690 } 690 }
691 else if (!g_str_equal(passport, purple_account_get_username(gc->account))) 691 else if (!g_str_equal(passport, purple_account_get_username(purple_connection_get_account(gc))))
692 { 692 {
693 /* Don't im ourselves ... */ 693 /* Don't im ourselves ... */
694 serv_got_im(gc, passport, body_final, 0, time(NULL)); 694 serv_got_im(gc, passport, body_final, 0, time(NULL));
695 if (swboard->conv == NULL) 695 if (swboard->conv == NULL)
696 { 696 {