mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
No notifications for own send messages
This commit is contained in:
committed by
Mat Sutcliffe
parent
64b17b787c
commit
9aca949aea
@@ -530,7 +530,7 @@ namespace BlackGui
|
||||
textEdit->insertTextMessage(textMessage);
|
||||
|
||||
// sound
|
||||
const bool playSound = !m_usedAsOverlayWidget && sGui && !sGui->isShuttingDown() && sGui->getIContextAudio();
|
||||
const bool playSound = !textMessage.wasSent() && !m_usedAsOverlayWidget && sGui && !sGui->isShuttingDown() && sGui->getIContextAudio();
|
||||
if (sGui && sGui->getIContextAudio() && playSound)
|
||||
{
|
||||
const CSettings settings = m_audioSettings.get();
|
||||
|
||||
Reference in New Issue
Block a user