Changes story message receiver acceptance logic

This commit is contained in:
Josh Perez 2022-03-28 20:34:19 -04:00 committed by Scott Nonnenberg
parent 006de5b1a5
commit 9d3f0072a5

View file

@ -1874,7 +1874,7 @@ export default class MessageReceiver
log.info('MessageReceiver.handleDataMessage', logId);
const isStoriesEnabled =
isEnabled('desktop.stories') && isEnabled('desktop.internalUser');
isEnabled('desktop.stories') || isEnabled('desktop.internalUser');
if (!isStoriesEnabled && msg.storyContext) {
log.info(
`MessageReceiver.handleDataMessage/${logId}: Dropping incoming dataMessage with storyContext field`