mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +03:00
jsonrpc: show sticker image in quote (#3744)
* jsonrpc: show sticker image in quote * add pr number to changelog
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
- add JSON-RPC stdio server `deltachat-rpc-server` and use it for JSON-RPC tests #3695
|
||||
- update rPGP from 0.8 to 0.9 #3737
|
||||
- jsonrpc: typescript client: use npm released deltachat fork of the tiny emitter package #3741
|
||||
- jsonrpc: show sticker image in quote #3744
|
||||
|
||||
### Fixes
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@ impl MessageObject {
|
||||
override_sender_name: quote.get_override_sender_name(),
|
||||
image: if quote.get_viewtype() == Viewtype::Image
|
||||
|| quote.get_viewtype() == Viewtype::Gif
|
||||
|| quote.get_viewtype() == Viewtype::Sticker
|
||||
{
|
||||
match quote.get_file(context) {
|
||||
Some(path_buf) => path_buf.to_str().map(|s| s.to_owned()),
|
||||
|
||||
Reference in New Issue
Block a user