Timestamp:
2015-08-11T06:48:15Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
86fd261
Parents:
666722e
git-author:
dequis <dx@…> (11-08-15 04:53:08)
git-committer:
dequis <dx@…> (11-08-15 06:48:15)
Message:

otr: color multiline messages

Fixes trac ticket 710.

Incoming messages can have newlines in them, which become several
PRIVMSG on the irc layer. Prepending color codes at the beginning of the
message resulted in showing the rest of those PRIVMSG as white.

This splits the message by newlines and rebuilds it in a GString,
re-adding the color codes right after each newline.

(No files)

Note: See TracChangeset for help on using the changeset viewer.