diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2022-10-06 17:54:27 +0300 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2022-10-06 17:54:27 +0300 |
commit | 0a70567452a34dd2aebdc968e9179f7a36b34274 (patch) | |
tree | 4dec720ae2c106ebd29693ce4d177158cb23ba5e /app/src | |
parent | da9daed3a99e057638ab18201cb1a882da8217b8 (diff) |
PMD: Use opposite operator instead of the logic complement operator.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java b/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java index efcb75dc7..e946511de 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java +++ b/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java @@ -183,7 +183,7 @@ public class NotificationWorker extends Worker { } } - muteCall = !(conversation.getNotificationCalls() == 1); + muteCall = conversation.getNotificationCalls() != 1; } @Override |