mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Avoid playing new dm's sound for now
This commit is contained in:
parent
8850e5fdde
commit
4a9098021f
@ -1253,7 +1253,7 @@ class Controller(object):
|
|||||||
buffer.put_items_on_list(number_of_items)
|
buffer.put_items_on_list(number_of_items)
|
||||||
if new_position > -1:
|
if new_position > -1:
|
||||||
buffer.buffer.list.select_item(new_position)
|
buffer.buffer.list.select_item(new_position)
|
||||||
if number_of_items > 0:
|
# if number_of_items > 0:
|
||||||
sound_to_play = "dm_received.ogg"
|
# sound_to_play = "dm_received.ogg"
|
||||||
if "direct_messages" not in buffer.session.settings["other_buffers"]["muted_buffers"]:
|
# if "direct_messages" not in buffer.session.settings["other_buffers"]["muted_buffers"]:
|
||||||
self.notify(buffer.session, sound_to_play)
|
# self.notify(buffer.session, sound_to_play)
|
Loading…
Reference in New Issue
Block a user