Add missing urgent column to projection

Fixes #1031
This commit is contained in:
AsamK 2022-10-07 12:09:43 +02:00
parent 9a4693136d
commit 8e717e00b1

View file

@ -86,7 +86,7 @@ public class MessageSendLogStore implements AutoCloseable {
final ServiceId serviceId, final int deviceId, final long timestamp, final boolean isSenderKey final ServiceId serviceId, final int deviceId, final long timestamp, final boolean isSenderKey
) { ) {
final var sql = """ final var sql = """
SELECT group_id, content, content_hint SELECT group_id, content, content_hint, urgent
FROM %s l FROM %s l
INNER JOIN %s lc ON l.content_id = lc._id INNER JOIN %s lc ON l.content_id = lc._id
WHERE l.uuid = ? AND l.device_id = ? AND lc.timestamp = ? WHERE l.uuid = ? AND l.device_id = ? AND lc.timestamp = ?