Sync storiesDisabled
flag on AccountRecord
This commit is contained in:
parent
3e57cb8549
commit
8b705d3b55
11 changed files with 42 additions and 35 deletions
|
@ -1904,7 +1904,7 @@ export default class MessageReceiver
|
|||
|
||||
const attachments: Array<ProcessedAttachment> = [];
|
||||
|
||||
if (!window.Events.getHasStoriesEnabled()) {
|
||||
if (window.Events.getHasStoriesDisabled()) {
|
||||
log.info('MessageReceiver.handleStoryMessage: dropping', logId);
|
||||
this.removeFromCache(envelope);
|
||||
return;
|
||||
|
@ -2697,7 +2697,7 @@ export default class MessageReceiver
|
|||
}
|
||||
|
||||
if (sentMessage.storyMessageRecipients && sentMessage.isRecipientUpdate) {
|
||||
if (!window.Events.getHasStoriesEnabled()) {
|
||||
if (window.Events.getHasStoriesDisabled()) {
|
||||
log.info(
|
||||
'MessageReceiver.handleSyncMessage: dropping story recipients update'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue