Commit Graph

53 Commits

Author SHA1 Message Date
levlam
1324e94c34 Log size of loaded message effects and reactions. 2024-05-09 19:06:31 +03:00
levlam
1b200bb820 Save and load message effects. 2024-05-09 17:37:07 +03:00
levlam
5d349d86e1 Add td_api::updateAvailableMessageEffects. 2024-05-09 16:54:06 +03:00
levlam
aab71e18cf Add td_api::getMessageEffect. 2024-05-08 18:08:15 +03:00
levlam
4b3e0ee8eb Add td_api::MessageEffectType. 2024-05-08 10:59:30 +03:00
levlam
7b7d60a394 Add td_api::getMessageEffects. 2024-05-07 18:49:00 +03:00
levlam
be197d6ec3 Add source to reload_reaction_list. 2024-03-22 15:57:46 +03:00
levlam
afb8524392 Minor fixes. 2024-02-07 17:50:57 +03:00
levlam
f28d40605a Improve Saved Messages topic API and naming. 2024-02-07 14:01:29 +03:00
levlam
d85dcb8298 Send update when title of unused tag changes. 2024-02-02 18:52:53 +03:00
levlam
f0503191e4 Load Saved Messages tags in topic from database. 2024-02-02 17:09:49 +03:00
levlam
3e9f2ba515 Merge add_saved_reaction_tags and get_saved_reaction_tags. 2024-02-02 16:49:13 +03:00
levlam
af0c522c45 Use currently used tags to sort available tags in Saved Messages. 2024-02-02 16:38:37 +03:00
levlam
04f3432574 Load all Saved Messages tags from database. 2024-02-02 16:30:11 +03:00
levlam
56e37a87a2 Save Saved Messages tags to database. 2024-02-02 00:06:59 +03:00
levlam
32eba3c7d1 Enable setting tags by Premium users. 2024-02-01 22:40:55 +03:00
levlam
930a3ccdca Support Saved Messages tags in topics. 2024-01-29 19:11:14 +03:00
levlam
027b23ac5a Simplify SavedReactionTags::update_saved_messages_tags. 2024-01-29 18:58:30 +03:00
levlam
440d9de15a Update layer to 173. 2024-01-29 16:32:02 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
db1644bb13 Add and use SavedReactionTag constructor. 2024-01-25 17:29:29 +03:00
levlam
04ec06ef4f Update tag labels locally. 2024-01-25 17:12:02 +03:00
levlam
2b442c1caa Add ReactionManager::reget_saved_messages_tags. 2024-01-25 17:04:02 +03:00
levlam
096fc39bd1 Cache reaction tag hash. 2024-01-25 14:29:22 +03:00
levlam
09122ba596 Update SavedReactionTag comparison operator. 2024-01-25 14:13:06 +03:00
levlam
9fe83feeeb Add td_api::ReactionUnavailabilityReason. 2024-01-24 17:11:41 +03:00
levlam
1b15b2825c Add and use SavedReactionTags::calc_hash(). 2024-01-24 00:25:02 +03:00
levlam
839969e255 Allow tags with label but without count. 2024-01-23 23:11:12 +03:00
levlam
588b889e4c Check Saved Messages tags for validness. 2024-01-23 23:04:47 +03:00
levlam
cb70c0fa97 Update saved reaction tags after changing them locally. 2024-01-23 22:56:00 +03:00
levlam
ae18e3de6b Add availableReaction.is_tag. 2024-01-23 21:28:39 +03:00
levlam
956c35d6e0 Add td_api::setSavedMessagesTagLabel. 2024-01-23 19:04:31 +03:00
levlam
e7953c067c Send GetSavedReactionTagsQuery ordered with SendReactionQuery. 2024-01-23 17:04:03 +03:00
levlam
1c53d32aba Return default tag reactions first for tags. 2024-01-23 16:49:50 +03:00
levlam
9a09125d62 Support telegram_api::updateSavedReactionTags. 2024-01-23 16:39:15 +03:00
levlam
291cd4203a Add td_api::updateSavedMessagesTags. 2024-01-23 16:23:35 +03:00
levlam
9df2ba6e64 Add td_api::getSavedMessagesTags. 2024-01-23 16:01:27 +03:00
levlam
b9afcbb70c Support reaction tags in getMessageAvailableReactions. 2024-01-22 20:03:05 +03:00
levlam
0823ee492e Add enum ReactionListType. 2024-01-18 20:53:43 +03:00
levlam
f4388dfc5c Add ReactionList.is_loaded_from_database. 2024-01-18 20:12:22 +03:00
levlam
74aab0a7b2 Load default tag reactions. 2024-01-18 20:08:37 +03:00
levlam
60f2f75b78 Minor improvements. 2024-01-22 13:11:04 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
0072ff225b Add static methods for processing of vector<ReactionType>. 2023-12-14 18:46:52 +03:00
levlam
3e3fe5f9bb Improve ChatReactions field names. 2023-11-19 02:03:19 +03:00
levlam
c474942666 Use add_to_top. 2023-10-01 21:17:30 +03:00
levlam
b72fa29981 Improve ReactionManager::is_active_reaction. 2023-09-19 15:28:39 +03:00
levlam
203e8cf9c2 Add more checks for is_authorized. 2023-08-17 00:32:29 +03:00
levlam
a0990ef2fd Various fixes. 2023-08-15 17:45:16 +03:00
levlam
dd023dba19 Add td_api::getStoryAvailableReactions. 2023-08-09 14:13:41 +03:00