From b10acd194e355fd7ae1ac4eb357cb8e18ee8144e Mon Sep 17 00:00:00 2001 From: Francisco Castro Date: Tue, 3 Mar 2026 08:28:52 -0300 Subject: [PATCH] Add support to gif stickers (#7941) Minimal change lets the desktop client select gif files placed in the stickers folders. --- deltachat-jsonrpc/src/api.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deltachat-jsonrpc/src/api.rs b/deltachat-jsonrpc/src/api.rs index fca11560d..3f438565b 100644 --- a/deltachat-jsonrpc/src/api.rs +++ b/deltachat-jsonrpc/src/api.rs @@ -2506,7 +2506,10 @@ impl CommandApi { continue; } let sticker_name = sticker_entry.file_name().into_string().unwrap_or_default(); - if sticker_name.ends_with(".png") || sticker_name.ends_with(".webp") { + if sticker_name.ends_with(".png") + || sticker_name.ends_with(".webp") + || sticker_name.ends_with(".gif") + { sticker_paths.push( sticker_entry .path()