Skip to content

Commit

Permalink
既読にならないことがあった
Browse files Browse the repository at this point in the history
  • Loading branch information
cho45 committed Nov 10, 2010
1 parent 4e6525b commit d05dada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Irssw.pm
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ route '/api/channel', method => GET, action => sub {
my $limit = $r->req->param('limit') || 50;

unless ($r->req->param('before')) {
irssi->call(mark_as_read => $target);
my $res = irssi->call(mark_as_read => $target)->recv;
}

my $messages = [
Expand Down

0 comments on commit d05dada

Please sign in to comment.