Merge pull request #49 from Bilb/fix-expiretimer-resend-group-failed

fix: resend expiretimerupdate on groupsync too
pull/3281/head
Audric Ackermann 9 months ago committed by GitHub
commit f3cbcf2a93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1204,7 +1204,7 @@ function fetchAllGroupUpdateFailedMessage(
} }
const rows = assertGlobalInstanceOrInstance(instance) const rows = assertGlobalInstanceOrInstance(instance)
.prepare( .prepare(
`SELECT json FROM ${MESSAGES_TABLE} WHERE conversationId = ? AND JSON_EXTRACT(json, '$.group_update') IS NOT NULL AND errors IS NOT NULL;` `SELECT json FROM ${MESSAGES_TABLE} WHERE conversationId = ? AND (JSON_EXTRACT(json, '$.group_update') IS NOT NULL OR JSON_EXTRACT(json, '$.expirationTimerUpdate') IS NOT NULL) AND errors IS NOT NULL;`
) )
.all(groupPk); .all(groupPk);

Loading…
Cancel
Save