From 4a9098021fbcc42f996d4e964fa67a436faa0ad0 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 20 Nov 2022 15:01:15 -0600 Subject: [PATCH] Avoid playing new dm's sound for now --- src/controller/mainController.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index b60e2e42..1a9cf409 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -1253,7 +1253,7 @@ class Controller(object): buffer.put_items_on_list(number_of_items) if new_position > -1: buffer.buffer.list.select_item(new_position) - if number_of_items > 0: - sound_to_play = "dm_received.ogg" - if "direct_messages" not in buffer.session.settings["other_buffers"]["muted_buffers"]: - self.notify(buffer.session, sound_to_play) \ No newline at end of file +# if number_of_items > 0: +# sound_to_play = "dm_received.ogg" +# if "direct_messages" not in buffer.session.settings["other_buffers"]["muted_buffers"]: +# self.notify(buffer.session, sound_to_play) \ No newline at end of file