Strip format codes when checking for highlights
authorShane Synan <digitalcircuit36939@gmail.com>
Fri, 10 Jun 2016 21:14:21 +0000 (17:14 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 28 Feb 2018 22:10:47 +0000 (23:10 +0100)
commit6cd2f094ef69786edc502781c70c5d4331e5504a
treea55121e51c6cc3a2e5743cafec0ca69e9d91d60e
parent8af6c7230948b26033c7f8d80bf3dece48b4ba7c
Strip format codes when checking for highlights

Strip format codes from message content when checking for highlights.
This fixes color-coded messages not triggering highlights, e.g.
messages from the qAnnounce bot in #quassel.

Closes GH-211.

(cherry picked from commit f34bb7b60263683e8527b7b19cc5d1590390c4b1)
src/qtui/qtuimessageprocessor.cpp