Commit Graph

979 Commits

Author SHA1 Message Date
levlam
17a18e8def Always use send_closure_later to keep relative message order. 2022-08-10 16:25:17 +03:00
levlam
8e5d85eb11 Add error logging. 2022-08-08 19:52:29 +03:00
levlam
d04527d10e Avoid expected error logging. 2022-08-08 13:19:11 +03:00
levlam
515bd488fb Use WaitFreeHashMap for dialogs. 2022-08-04 17:38:33 +03:00
levlam
699b421824 Use full variable names for unique_ptr<Dialog>. 2022-08-04 16:30:14 +03:00
levlam
898c5c5cf3 Improve error message. 2022-08-02 19:35:35 +03:00
levlam
3f1e0a9317 Add explicit limit on the number of saved auth notifications. 2022-08-01 01:39:09 +03:00
levlam
ddb572b830 Add more debug for have_full_history. 2022-07-15 17:03:40 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
638b4346ca Remove separate MessagesManager::on_update_scheduled_message_id. 2022-06-23 17:05:43 +03:00
levlam
80df1e2968 Add notificationTypeNewMessage.show_preview. 2022-06-16 18:54:50 +03:00
levlam
83fdbd7859 Move some AvailableReaction methods to AvailableReaction.h. 2022-06-09 01:48:39 +03:00
levlam
cb98c0a10a Add class AvailableReaction. 2022-06-09 01:07:53 +03:00
levlam
2570044eba Return, whether available reaction needs premium. 2022-06-08 17:34:13 +03:00
levlam
e336819ac8 Add and use "chat_filter_count_max" option. 2022-05-23 18:26:54 +03:00
levlam
2f186a9eeb Allow to change position of main chat list for premium users. 2022-05-19 21:19:06 +03:00
levlam
9f8de1d146 Add main_chat_list_position to updateChatFilters. 2022-05-19 16:57:11 +03:00
levlam
9092c58af7 Update replied message identifier in delete_sent_message_on_server. 2022-05-18 19:10:48 +03:00
levlam
2345933422 Fix chat to send messages as from a web app. 2022-04-26 17:13:31 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
72f3288bec Add source to get_history_from_the_end_impl. 2022-05-31 16:33:37 +03:00
levlam
bcea804864 Keep chat position if failed to add last message to it. 2022-05-31 15:39:41 +03:00
levlam
16959e33e4 Use WaitFreeHashMap for message_id_to_dialog_id_. 2022-05-19 19:34:48 +03:00
levlam
1616513c4c Add and use MessagesManager::is_deleted_message. 2022-05-18 12:16:32 +03:00
levlam
0bf2aaf4f2 Resolve identifiers of being added secret messages by their random_id. 2022-05-17 16:19:39 +03:00
levlam
f53f750b39 Change replied message ID from yet unsent to persistent after the message is sent. 2022-05-17 15:06:40 +03:00
levlam
bf37753056 Keep reply_to_message_id for forwards to secret chats. 2022-05-16 21:10:18 +03:00
levlam
26ceefb2d4 Keep reply_to_message_id for yet unsent messages between restarts. 2022-05-16 19:47:06 +03:00
levlam
190117c839 Add local reply_to_message_id to forwarded by the server messages. 2022-05-16 18:11:49 +03:00
levlam
5a1a64764b Add check that there are no two new chats added simultaneously. 2022-05-15 10:53:06 +03:00
levlam
3d796860d2 Use server-side forward as copy. 2022-05-08 23:54:04 +03:00
levlam
0a91c2b097 Remove unused argument. 2022-05-05 23:07:42 +03:00
levlam
ddbfc45925 Add MessagesManager::can_delete_dialog. 2022-04-29 14:33:35 +03:00
levlam
cdd82c67c9 Unify update variable names. 2022-04-28 18:39:05 +03:00
levlam
576c96a83d Reload number of unread reactions after receive new edited message. 2022-04-28 18:31:25 +03:00
levlam
ad65446480 Reget unread reaction count when receive update about unread reaction on unknown message. 2022-04-28 17:43:29 +03:00
levlam
17275fe422 Output the number of objects to be freed on closing. 2022-04-25 20:52:44 +03:00
levlam
13bd8044cf Add source to send_update_chat_unread_reaction_count. 2022-04-23 01:14:51 +03:00
levlam
a506382e4b Use '= {}' instead of '= Auto()'. 2022-04-18 18:21:41 +03:00
levlam
3215bb0242 Replace is_silent with sound_id in notifications. 2022-04-15 18:36:24 +03:00
levlam
2696a4abbb Restore failed to delete messages. 2022-04-12 17:34:08 +03:00
levlam
7a2b3abe18 Support new NotificationSound. 2022-04-11 20:01:44 +03:00
levlam
bb8c4ca42c Fix updating of Dialog.available_reactions_generation. 2022-04-11 16:01:30 +03:00
levlam
80d57a493f Move get_input_notify_peer to NotificationSettingsManager. 2022-04-11 13:06:16 +03:00
levlam
9fd72e86d0 Move scope notification settings tp NotificationSettingsManager. 2022-04-11 12:45:52 +03:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03:00
levlam
cb5fe8c7cd Move some related to notification settings methods to NotificationSettingsManager. 2022-04-08 17:17:56 +03:00
levlam
c5d58a8158 Add source to MessagesManager::repair_server_unread_count. 2022-04-04 19:29:03 +03:00