plugins/history.c

changeset 11338
1a3663ac9b05
parent 11318
13fa1d5134f3
child 11605
6ec0db32db8d
equal deleted inserted replaced
11337:6f6e8575d468 11338:1a3663ac9b05
43 time_t tm; 43 time_t tm;
44 char day[64]; 44 char day[64];
45 char *header; 45 char *header;
46 46
47 convtype = gaim_conversation_get_type(c); 47 convtype = gaim_conversation_get_type(c);
48 if (convtype == GAIM_CONV_IM) 48 if (convtype == GAIM_CONV_TYPE_IM)
49 { 49 {
50 GSList *buddies; 50 GSList *buddies;
51 GSList *cur; 51 GSList *cur;
52 52
53 /* If we're not logging, don't show anything. 53 /* If we're not logging, don't show anything.
90 if (logs == NULL) 90 if (logs == NULL)
91 logs = gaim_log_get_logs(GAIM_LOG_IM, name, account); 91 logs = gaim_log_get_logs(GAIM_LOG_IM, name, account);
92 else 92 else
93 logs = g_list_sort(logs, gaim_log_compare); 93 logs = g_list_sort(logs, gaim_log_compare);
94 } 94 }
95 else if (convtype == GAIM_CONV_CHAT) 95 else if (convtype == GAIM_CONV_TYPE_CHAT)
96 { 96 {
97 /* If we're not logging, don't show anything. 97 /* If we're not logging, don't show anything.
98 * Otherwise, we might show a very old log. */ 98 * Otherwise, we might show a very old log. */
99 if (!gaim_prefs_get_bool("/core/logging/log_chats")) 99 if (!gaim_prefs_get_bool("/core/logging/log_chats"))
100 return; 100 return;

mercurial