Skip to content
Snippets Groups Projects

Preview: Fix initial audio preview

Merged Daniel Brötzmann requested to merge wurstsalat/gajim-plugins:preview-fix-audio into master

This fixes the initial preview for audio files (link received > file downloaded > preview generated). Previously, Gajim tried to guess the MIME type of the received file before it was actually written to disk (because writing is async). This lead to the case where MIME type could not be guessed, because the file has not been written yet.

With this patch, Gajim updates the preview only after writing the file to disk. If a thumb image has been displayed already, Gajim does not update the preview.

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