# -*- mode: perl; coding: utf-8 -*-
# keitairc/lib/plugins/00unread
# チャネルの未読メッセージ閲覧
-# $Id: 00unread,v 1.14 2009-01-03 00:32:03 morimoto Exp $
+# $Id: 00unread,v 1.15 2009-01-04 13:49:15 nyan_ Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00unread,v $
# The line number (1 incremented) and filename below must be
my $ci = new Keitairc::ClientInfo($request);
my $view = new Keitairc::View($::cf, $ci);
+ my $cname = Encode::encode($::cf->web_charset(), $::ib->simple_escape($::ib->compact_channel_name($cid)));
return $view->render('unread.html', {
loop => \@loop,
- channel_compact => Encode::encode($::cf->web_charset(), $::ib->simple_escape($::ib->compact_channel_name($cid))),
+ channel_compact => $cname,
follow_nick => $::cf->follow_nick(),
cid => $cid,
});