mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Outgoing message sound respects Settings toggle (#1373)
This commit is contained in:
parent
431a91a485
commit
7c6b84c46b
|
@ -654,7 +654,9 @@ typedef enum : NSUInteger {
|
|||
date:(NSDate *)date
|
||||
{
|
||||
if (text.length > 0) {
|
||||
[JSQSystemSoundPlayer jsq_playMessageSentSound];
|
||||
if ([Environment.preferences soundInForeground]) {
|
||||
[JSQSystemSoundPlayer jsq_playMessageSentSound];
|
||||
}
|
||||
|
||||
TSOutgoingMessage *message;
|
||||
OWSDisappearingMessagesConfiguration *configuration =
|
||||
|
|
Loading…
Reference in a new issue