mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Introduce the new Settings tab
Co-authored-by: Jamie Kyle <jamie@signal.org> Co-authored-by: Fedor Indutny <indutny@signal.org> Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -34,6 +34,7 @@ import {
|
||||
import { drop } from '../util/drop';
|
||||
import { getMessageById } from '../messages/getMessageById';
|
||||
import { MessageModel } from '../models/messages';
|
||||
import { areStoryViewReceiptsEnabled } from '../types/Stories';
|
||||
|
||||
const { deleteSentProtoRecipient, removeSyncTasks, removeSyncTaskById } =
|
||||
DataWriter;
|
||||
@@ -398,7 +399,7 @@ const shouldDropReceipt = (
|
||||
return !window.storage.get('read-receipt-setting');
|
||||
case messageReceiptTypeSchema.Enum.View:
|
||||
if (isStory(message)) {
|
||||
return !window.Events.getStoryViewReceiptsEnabled();
|
||||
return !areStoryViewReceiptsEnabled();
|
||||
}
|
||||
return !window.storage.get('read-receipt-setting');
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user