comparison src/conversation.c @ 7553:7d95978b07d9

[gaim-migrate @ 8167] Logginations committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 18 Nov 2003 04:39:50 +0000
parents a899742289c2
children cdfdbabd3266
comparison
equal deleted inserted replaced
7552:83453431d722 7553:7d95978b07d9
805 conv->title = g_strdup(name); 805 conv->title = g_strdup(name);
806 conv->send_history = g_list_append(NULL, NULL); 806 conv->send_history = g_list_append(NULL, NULL);
807 conv->history = g_string_new(""); 807 conv->history = g_string_new("");
808 conv->data = g_hash_table_new_full(g_str_hash, g_str_equal, 808 conv->data = g_hash_table_new_full(g_str_hash, g_str_equal,
809 g_free, NULL); 809 g_free, NULL);
810 conv->log = gaim_log_new(GAIM_LOG_IM, name, account, time(NULL)); 810 conv->log = gaim_log_new(type == GAIM_CONV_IM ? GAIM_LOG_IM :
811 type == GAIM_CONV_CHAT ? GAIM_LOG_CHAT : GAIM_LOG_IM, name, account, time(NULL));
811 812
812 813
813 if (type == GAIM_CONV_IM) 814 if (type == GAIM_CONV_IM)
814 { 815 {
815 conv->u.im = g_new0(GaimConvIm, 1); 816 conv->u.im = g_new0(GaimConvIm, 1);