Highlight parsing is now done after Ignores have been respected.

In the same commit, because I misunderstood the original issue, I also
split out the parsing of the highlights and triggering of the highlight
sounds/alerts into separate functions.

Fixes #1160

I also re-enabled the "sound url changer" that was commented out in an
earlier commit.

Fixes #1170
This commit is contained in:
Rasmus Karlsson
2019-08-04 14:31:57 +02:00
parent c4415dce5c
commit c578cd47e1
4 changed files with 361 additions and 321 deletions
+3 -1
View File
@@ -6,6 +6,8 @@
#include "common/NetworkTimer.hpp"
#include "common/NetworkWorker.hpp"
#include <memory>
namespace chatterino {
struct NetworkData;
@@ -57,7 +59,7 @@ public:
void execute();
QString urlString() const;
[[nodiscard]] QString urlString() const;
private:
void initializeDefaultValues();