diff options
author | Richard Maudsley <richard.maudsley@isode.com> | 2014-07-17 07:59:34 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-07-29 09:58:29 (GMT) |
commit | 4af098dacb3cedfb269c2443c5e1eeb76f1de82f (patch) | |
tree | b2bb1f8d2d2bf6f98ffbfa814a2381be99e668c0 | |
parent | 4ab20a452e0af56c7ee210f863aeae31450954cc (diff) | |
download | swift-contrib-4af098dacb3cedfb269c2443c5e1eeb76f1de82f.zip swift-contrib-4af098dacb3cedfb269c2443c5e1eeb76f1de82f.tar.bz2 |
Fix rule for highlighting messages from individual sender JID or MUC nick.
Test-Information:
Set up rule to highlight chat messages from a sender. Confirm that when this is enabled the entire message text from that sender is highlighted and messages from other senders are displayed normally. Same test for Room/MUC messages. Confirm that for MUC nicks the comparison is case insensitive. Confirm that URL parsing and emoticon parsing stills works within highlighted messages.
Change-Id: I5bbf013df8efdd76f876c020fd3097adbfb45760
-rw-r--r-- | Swift/QtUI/QtHighlightEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtHighlightEditor.cpp b/Swift/QtUI/QtHighlightEditor.cpp index 134155c..a5f49c2 100644 --- a/Swift/QtUI/QtHighlightEditor.cpp +++ b/Swift/QtUI/QtHighlightEditor.cpp @@ -387,2 +387,3 @@ HighlightRule QtHighlightEditor::ruleFromDialog() HighlightRule rule; + HighlightAction& action = rule.getAction(); @@ -402,2 +403,3 @@ HighlightRule QtHighlightEditor::ruleFromDialog() rule.setSenders(senders); + action.setHighlightAllText(true); } @@ -423,4 +425,2 @@ HighlightRule QtHighlightEditor::ruleFromDialog() - HighlightAction& action = rule.getAction(); - if (ui_.noColorRadio->isChecked()) { |