mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 13:56:30 +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:
@@ -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