Commit Graph

97 Commits

Author SHA1 Message Date
levlam
978be7206f Use DialogManager::have_dialog_force. 2024-01-04 15:26:42 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
0e2b7eab27 Ensure that messageReaction.total_count isn't less than the number of recent users. 2024-01-02 02:54:57 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
e4e76a7483 Add td_api::setMessageReactions for bots. 2023-12-15 14:51:26 +03:00
levlam
0072ff225b Add static methods for processing of vector<ReactionType>. 2023-12-14 18:46:52 +03:00
levlam
e3d89cf90f Add messageReaction.used_sender_id. 2023-09-28 14:32:08 +03:00
levlam
0fd3c55547 Add addedReaction.is_outgoing. 2023-09-28 13:25:33 +03:00
levlam
7d2d0b9f2e Improve names of MessageReaction functions. 2023-09-27 17:25:03 +03:00
levlam
b41a51f2ec Use add_to_top if possible. 2023-10-04 16:18:20 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
57b935f6a7 Move more functions to ReactionType. 2023-08-05 14:59:42 +03:00
levlam
905287f1ec Improve ReactionType logging. 2023-08-04 18:44:54 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
8d971da083 Fix MessageReaction creation. 2023-07-13 13:54:58 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
fca432eb43 Don't reload message reactions for messages with being read reactions. 2023-06-23 14:39:07 +03:00
levlam
f733cb56ce Fix my_recent_chooser when removing reaction. 2023-05-01 18:28:06 +03:00
levlam
e4a15cc0ef Fix MessageReaction::set_my_recent_chooser_dialog_id. 2023-05-01 18:09:27 +03:00
levlam
601a216078 Add reactions on behalf of channels. 2023-04-27 19:31:31 +03:00
levlam
036a7cd539 Ensure that my_dialog_id is the same for all reactions. 2023-04-27 18:46:51 +03:00
levlam
b1c627a3be Fix chosen reaction order in MessageReactions::update_from. 2023-04-27 17:26:26 +03:00
levlam
e528c85550 Remove now unneeded parameters from MessageReactions::remove_reaction. 2023-04-27 16:42:38 +03:00
levlam
89cd51b461 Add MessageReaction::update_from. 2023-04-27 16:37:15 +03:00
levlam
2d0fa11624 Support my_recent_chooser_dialog_id. 2023-04-27 16:20:54 +03:00
levlam
75e00df016 Ensure ordering between messages.getMessagesReactions and channels.readMessageContents. 2023-06-01 15:53:13 +03:00
levlam
cfc46b1893 Load chat with its info if appropriate. 2023-04-13 23:13:38 +03:00
levlam
d1146a46f2 Add more secret chat checks. 2023-03-22 16:44:52 +03:00
levlam
9260822b6e Add reaction date to addedReaction. 2023-03-08 21:12:45 +03:00
levlam
754ff0fc53 Improve handling of internal options with updates. 2023-01-17 14:24:18 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
b634948c15 Move static MessageId helpers to MessageId class. 2022-12-10 22:57:41 +03:00
levlam
a8535a78f7 Ignore MESSAGE_NOT_MODIFIED error for added reactions. 2022-11-01 14:38:49 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +03:00
levlam
91ba17c47b Fix read_date usage. 2022-10-04 14:18:57 +03:00
levlam
798f4fdb2f Add MessageReactions::add_min_channels. 2022-09-24 21:09:07 +03:00
levlam
375446ac88 Add MessageReactions::add_dependencies. 2022-09-24 21:07:35 +03:00
levlam
da00ea6f86 Add MessageReactions::get_message_reactions_object. 2022-09-24 20:58:54 +03:00
levlam
c9f7603ad7 Add MessageReactions::are_consistent_with_list. 2022-09-24 20:15:38 +03:00
levlam
e5fbb33555 Remove all chosen reactions, exceeding reaction limit. 2022-09-14 17:55:02 +03:00
levlam
cef7ca17f3 Always show all reaction choosers in private chats. 2022-09-14 17:15:12 +03:00
levlam
c646e43e37 Minor improvements. 2022-09-14 16:31:47 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
5213561096 Make non-const MessageReaction functions private. 2022-09-13 15:35:18 +03:00
levlam
38fbd00e99 Add and use get_reactions_hash. 2022-09-12 21:55:30 +03:00
levlam
999326d56a Locally add reaction to recent. 2022-09-12 20:17:14 +03:00
levlam
f119e867df Update chosen reaction order when reactions are added or removed. 2022-09-11 15:10:56 +03:00
levlam
2ee994aed1 Add MessageReactions::get_chosen_reactions. 2022-09-11 14:06:01 +03:00