add thumbnail for image in chatlist item (#4311)

* add thumbnail for image in chatlist item

* added preview for stickers and gifs also

* added last_message_type and last_message_id to ChatListItemFetchResult

addresses link2ext comment

* code optimization

fixes:
https://github.com/deltachat/deltachat-core-rust/pull/4311#discussion_r1162791672

* code formatting

* fix clippy

* add changelog entry

---------

Co-authored-by: meganoahj <s3ccg@testrun.org>
Co-authored-by: Simon Laux <mobile.info@simonlaux.de>
This commit is contained in:
meganoahj
2023-05-08 19:44:43 +02:00
committed by GitHub
parent 5c3df7e452
commit 0d30e66dda
3 changed files with 33 additions and 3 deletions

View File

@@ -2,6 +2,9 @@
## Unreleased
### Added
- jsonrpc: `ChatListItemFetchResult` gets new properties: `summary_preview_image`, `last_message_type` and `last_message_id`
### Changes
- BREAKING: jsonrpc:
- `get_chatlist_items_by_entries` now takes only chatids instead of `ChatListEntries`