Allow other types of alerts when messages are off
- Allow sending beep and requesting window focus when having notification messages disabled Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -84,11 +84,6 @@ public class Notifier
|
||||
|
||||
public void notify(String message, TrayIcon.MessageType type)
|
||||
{
|
||||
if (!runeLiteConfig.enableTrayNotifications())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
final ClientUI clientUI = this.clientUI.get();
|
||||
|
||||
if (clientUI == null)
|
||||
@@ -106,7 +101,10 @@ public class Notifier
|
||||
clientUI.requestFocus();
|
||||
}
|
||||
|
||||
sendNotification(appName, message, type, null);
|
||||
if (runeLiteConfig.enableTrayNotifications())
|
||||
{
|
||||
sendNotification(appName, message, type, null);
|
||||
}
|
||||
|
||||
if (runeLiteConfig.enableNotificationSound())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user