comparison src/conversation.c @ 11292:ef9280fdc511

[gaim-migrate @ 13492] Apparently, users like to know when logging is failing. Who knew? committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 18 Aug 2005 04:14:07 +0000
parents 74b003b1ba8d
children 17142948653e
comparison
equal deleted inserted replaced
11291:57fccea36e36 11292:ef9280fdc511
626 626
627 account = gaim_conversation_get_account(conv); 627 account = gaim_conversation_get_account(conv);
628 628
629 gaim_log_free(conv->log); 629 gaim_log_free(conv->log);
630 conv->log = gaim_log_new(GAIM_LOG_CHAT, gaim_conversation_get_name(conv), 630 conv->log = gaim_log_new(GAIM_LOG_CHAT, gaim_conversation_get_name(conv),
631 account, time(NULL)); 631 account, conv, time(NULL));
632 632
633 gc = gaim_account_get_connection(account); 633 gc = gaim_account_get_connection(account);
634 634
635 if ((disp = gaim_connection_get_display_name(gc)) != NULL) 635 if ((disp = gaim_connection_get_display_name(gc)) != NULL)
636 gaim_conv_chat_set_nick(GAIM_CONV_CHAT(conv), disp); 636 gaim_conv_chat_set_nick(GAIM_CONV_CHAT(conv), disp);
684 conv->send_history = g_list_append(NULL, NULL); 684 conv->send_history = g_list_append(NULL, NULL);
685 conv->data = g_hash_table_new_full(g_str_hash, g_str_equal, 685 conv->data = g_hash_table_new_full(g_str_hash, g_str_equal,
686 g_free, NULL); 686 g_free, NULL);
687 conv->log = gaim_log_new(type == GAIM_CONV_CHAT ? GAIM_LOG_CHAT : 687 conv->log = gaim_log_new(type == GAIM_CONV_CHAT ? GAIM_LOG_CHAT :
688 GAIM_LOG_IM, conv->name, account, 688 GAIM_LOG_IM, conv->name, account,
689 time(NULL)); 689 conv, time(NULL));
690 /* copy features from the connection. */ 690 /* copy features from the connection. */
691 conv->features = gc->flags; 691 conv->features = gc->flags;
692 692
693 693
694 if (type == GAIM_CONV_IM) 694 if (type == GAIM_CONV_IM)