changeset 13378:dfd9eaeae114

[gaim-migrate @ 15751] I didn't look through the rest of this, and the .adiumLog == plaintext assumption will have to be changed since that's likely to be the extension of the XML-based Adium logs (it hasn't been used by Adium in any public release so can probably just be nixed)... but .AdiumHTMLLog is the extension used by the HTML-based Adium logs in Adium 1.0svn. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 02 Mar 2006 21:15:57 +0000
parents 71fbe885c50b
children 55c3530f4e72
files plugins/log_reader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/log_reader.c	Thu Mar 02 19:00:55 2006 +0000
+++ b/plugins/log_reader.c	Thu Mar 02 21:15:57 2006 +0000
@@ -98,7 +98,7 @@
 		while ((file = g_dir_read_name(dir))) {
 			if (!g_str_has_prefix(file, sn))
 				continue;
-			if (g_str_has_suffix(file, ".html")) {
+			if (g_str_has_suffix(file, ".html") || g_str_has_suffix(file, ".AdiumHTMLLog")) {
 				struct tm tm;
 				const char *date = file;