Return results from add_parts() via structure

Replaced mutable out parameters with explicit return of structure.
Also moved all decisions about emitted events out of add_parts(). Chat
ID is removed from created_db_entries as it is the same for all parts.
This commit is contained in:
link2xt
2022-03-25 21:23:09 +00:00
parent e93c9f74c9
commit 08d34e41c6
2 changed files with 39 additions and 43 deletions

View File

@@ -22,6 +22,7 @@
- improve speed by caching config values #3131 #3145
- optimize `markseen_msgs` #3141
- automatically accept chats with outgoing messages #3143
- return result from `add_parts()` via structure #3154
### Fixes