src/conversation.c

changeset 9324
dfa7e7d6fb06
parent 9261
a0ed867a459e
child 9375
212ce6c01c81
equal deleted inserted replaced
9323:2df8940cad17 9324:dfa7e7d6fb06
806 time(NULL)); 806 time(NULL));
807 807
808 808
809 if (type == GAIM_CONV_IM) 809 if (type == GAIM_CONV_IM)
810 { 810 {
811 GaimBuddyIcon *icon;
811 conv->u.im = g_new0(GaimConvIm, 1); 812 conv->u.im = g_new0(GaimConvIm, 1);
812 conv->u.im->conv = conv; 813 conv->u.im->conv = conv;
813 814
814 ims = g_list_append(ims, conv); 815 ims = g_list_append(ims, conv);
816 if ((icon = gaim_buddy_icons_find(account, name)))
817 gaim_conv_im_set_icon(conv->u.im, icon);
815 818
816 gaim_conversation_set_logging(conv, 819 gaim_conversation_set_logging(conv,
817 gaim_prefs_get_bool("/core/logging/log_ims")); 820 gaim_prefs_get_bool("/core/logging/log_ims"));
818 } 821 }
819 else if (type == GAIM_CONV_CHAT) 822 else if (type == GAIM_CONV_CHAT)

mercurial