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:
Scott Nonnenberg
2025-05-15 13:58:20 +10:00
committed by GitHub
parent 0d906e88ff
commit fe9d042e40
55 changed files with 1468 additions and 2092 deletions

View File

@@ -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: