diff --git a/protocol/message_persistence.go b/protocol/message_persistence.go index 5ce47996e..dcde65b7f 100644 --- a/protocol/message_persistence.go +++ b/protocol/message_persistence.go @@ -115,7 +115,7 @@ func (db sqlitePersistence) tableUserMessagesAllFieldsJoin() string { m1.sticker_hash, m1.image_payload, m1.image_type, - m1.album_id, + COALESCE(m1.album_id, ""), COALESCE(m1.audio_duration_ms,0), m1.community_id, m1.mentions,