? my ($app, $msg) = @_;
? my $avatar = ($msg->{avatar} and $app->config->{avatars} eq "show") ? $msg->{avatar} : "";
= $avatar ? "avatar " : "" ?>= $msg->{nick} ?>= $msg->{self} ? " self" : "" ?>= $msg->{consecutive} ? " consecutive" : "" ?>= $msg->{monospaced} ? " monospace" : ""?>" id="= $msg->{msgid} ?>">
= $msg->{html} ?>
if (!$msg->{consecutive} and $msg->{timestamp}) { ?>
= $msg->{timestamp} ?>
} ?>