mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-02 09:11:47 +00:00
56290cc7b0
The prefer-content check used hasMsgContent (msgContent != null AND non-empty text), so a caption-less photo/voice/file was treated like a no-content event and could not become the preview when a prior text message was shown. Use msgContent != null (is-a-message) instead; the no-content event re-cover guard still holds (events have msgContent == null).