Skip to content

Commit 188fdfa

Browse files
authored
Merge pull request #7184 from Countly/SER-2789-updates-on-a-cohort-message-is-not-reflected-to-cache
[push] Reflecting changes on a message to cache
2 parents ae8ab40 + 43641bb commit 188fdfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/push/api/api-message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ module.exports.update = async params => {
350350
}
351351
else {
352352
await msg.save();
353-
if (!params.qstring.demo && msg.triggerPlain() && (msg.is(State.Paused) || msg.is(State.Streaming) || msg.is(State.Streamable))) {
353+
if (!params.qstring.demo && (msg.is(State.Paused) || msg.is(State.Streaming) || msg.is(State.Streamable))) {
354354
await msg.schedule(log, params);
355355
}
356356
common.plugins.dispatch('/systemlogs', {params: params, action: 'push_message_updated', data: msg.json});

0 commit comments

Comments
 (0)