Skip to content

Commit

Permalink
FIX: Smart Notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Feb 24, 2022
1 parent 7538fd3 commit 76428c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/splashsync/splashsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,11 @@ private function importMessages()
// Merge Cookie With Log
Splash\Client\Splash::log()->merge($notifications);
//====================================================================//
// Smart Notifications => Filter Messages, Only Warnings & Errors
if (Splash\Client\Splash::configuration()->SmartNotify) {
Splash\Client\Splash::log()->smartFilter();
}
//====================================================================//
// Save Changes to File
if (function_exists("json_encode")) {
file_put_contents($bufferFile, json_encode(Splash\Client\Splash::log()));
Expand Down

0 comments on commit 76428c3

Please sign in to comment.