Skip to content
Snippets Groups Projects

room-message-event: Fix image download

Merged Guido Günther requested to merge agx/libcmatrix:image-download into main

room-message-event: Fix image download

In case of an image the file element has the uri not the body itself.

Without this we see

 15:12:07.2632 cm-room-message-event[981607]:CRITICAL: cm_room_message_event_get_file_async: assertion 'self->mxc_uri' failed

in the logs and the download spinner never stops.

While at that add a docstring to make owner ship transfer more obvious.

This allows me to download images pasted with Element 1.11.64

Edited by Guido Günther

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading