# HG changeset patch # User Thilo Cestonaro # Date 1278321156 -7200 # Node ID 58c37562c67d1c90aebebd5e493585d5368afff4 # Parent 18a0e5c0bb6286809e99a6d05a09b7b5e4a743f7 mod_muc_log_http: show more of the room title diff -r 18a0e5c0bb62 -r 58c37562c67d mod_muc_log_http/muc_log_http/mod_muc_log_http.lua --- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Mon Jul 05 14:27:39 2010 +0800 +++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Mon Jul 05 11:12:36 2010 +0200 @@ -342,8 +342,8 @@ local alreadyDoneYears = {}; local temptime = {day=0, month=0, year=0}; topic = room._data.subject or "(no subject)" - if topic:len() > 60 then - topic = topic:sub(1, topic:find(" ", 50)) .. " ..." + if topic:len() > 135 then + topic = topic:sub(1, topic:find(" ", 120)) .. " ..." end for folder in lfs.dir(path) do local year, month, day = folder:match("^(%d%d)(%d%d)(%d%d)");