Commit Graph

2995 Commits

Author SHA1 Message Date
levlam
1dcd78f1ed Add source to have_dialog_info_force. 2023-08-26 05:00:15 +03:00
levlam
c83149661b Remove useless checks. 2023-08-26 04:38:33 +03:00
levlam
432f77ae85 Use NotificationObjectId in NotificationGroupInfo. 2023-08-26 00:48:57 +03:00
levlam
4455255d9b Add class NotificationObjectId. 2023-08-25 02:04:44 +03:00
levlam
a85d3663bf Add MessagesManager::reload_dialog_notification_settings. 2023-08-24 17:29:22 +03:00
levlam
1e6970e3fe Add NotificationGroupFromDatabase struct. 2023-08-23 19:38:06 +03:00
levlam
fbc74dc8f4 Add and use NotificationManager::have_group_force. 2023-08-23 19:16:57 +03:00
levlam
2fc806785f Use CHECK in MessagesManager::get_dialog_notification_group_id. 2023-08-23 18:54:03 +03:00
levlam
d8472358dc Add MessagesManager::get_story_notification_settings. 2023-08-22 18:55:59 +03:00
levlam
15c14e4983 Use object_id instead of message_id in NotificationGroupInfo. 2023-08-22 16:32:40 +03:00
levlam
ce1fdf097c Add NotificationGroupInfo.has_group_id. 2023-08-22 02:34:26 +03:00
levlam
5144656f2b Add MessagesManager::is_dialog_notification_group_id. 2023-08-22 02:31:47 +03:00
levlam
1289a62c16 Make the rest NotificationGroupInfo fields private. 2023-08-22 00:01:29 +03:00
levlam
db9ca1a847 Add NotificationGroupInfo::is_valid(). 2023-08-21 23:03:55 +03:00
levlam
a93322ae32 Always remove unneeded last_notification_id_. 2023-08-21 22:40:17 +03:00
levlam
8116952371 Make NotificationGroupInfo.last_notification_date_ private. 2023-08-21 22:21:06 +03:00
levlam
5450d2e53d Make NotificationGroupInfo.::max_removed_notification_id_ private. 2023-08-21 22:13:19 +03:00
levlam
4e031ed7fd Make NotificationGroupInfo.max_removed_message_id_ private. 2023-08-21 21:43:26 +03:00
levlam
c40b2b95d2 Add NotificationGroupInfo::is_removed_notification. 2023-08-21 21:37:52 +03:00
levlam
f933f5a25f Add NotificationGroupInfo::set_max_removed_notification_id. 2023-08-21 20:12:30 +03:00
levlam
d22fbcaba6 Add NotificationGroupInfo constructors. 2023-08-21 19:54:12 +03:00
levlam
174f0ca5f5 Add MessagesManager::set_dialog_last_notification_checked. 2023-08-21 19:50:24 +03:00
levlam
e667e45985 Add NotificationGroupInfo::set_last_notification. 2023-08-21 19:46:09 +03:00
levlam
05b1bec6a9 Improve names of NotificationGroupInfo fields. 2023-08-21 19:36:43 +03:00
levlam
6c4545fb3f Make NotificationGroupInfo::try_reuse_ private. 2023-08-21 19:28:05 +03:00
levlam
d2cf780a1f Move class NotificationGroupInfo to a separate header. 2023-08-21 18:52:56 +03:00
levlam
74f0d49f8e Support only Main and Archive folder identifiers. 2023-08-18 17:51:31 +03:00
levlam
c8cbef60cb Save correct chat order even we aren't sure about chat folder. 2023-08-18 16:19:22 +03:00
levlam
770837bcd9 Update chat action bar only if folder_id is changed. 2023-08-18 15:56:12 +03:00
levlam
8d0627b014 Disallow story areas editing without content edit. 2023-08-15 19:39:59 +03:00
levlam
5a60e62892 Add more checks. 2023-08-15 17:55:12 +03:00
levlam
ba527b7e5d Create channel chat to apply an update, even the update will be ignored. 2023-08-15 15:03:13 +03:00
levlam
4f2ad215d3 Initialize PTS in channels from the first received update. 2023-08-15 14:53:14 +03:00
levlam
b12ade01f6 Add more checks for server StoryId. 2023-08-10 20:22:12 +03:00
levlam
6c0878e738 Simplify condition. 2023-08-09 14:56:28 +03:00
levlam
ec6c36e578 Add getBlockedMessageSenders.block_list. 2023-07-28 17:52:44 +03:00
levlam
3794e65b76 Add td_api::BlockList. 2023-07-28 17:33:47 +03:00
levlam
f0e59da1ff Process blocked_my_stories_from flags. 2023-07-28 16:19:05 +03:00
levlam
1022cc6439 Update layer to 161. 2023-07-21 15:41:44 +03:00
levlam
441482c0c4 Remove now unneeded proxies to ReactionManager. 2023-08-09 13:10:06 +03:00
levlam
9dcfd9d66d Add ReactionManager and move there all reaction-related methods from StickersManager. 2023-08-09 12:59:48 +03:00
levlam
d2add02ac9 Move get_sorted_available_reactions to StickersManager. 2023-08-09 12:07:13 +03:00
levlam
39103e07db Add ChatReactions.hpp. 2023-08-06 02:32:09 +03:00
levlam
3fa863e98e Fix misprint. 2023-08-06 01:57:08 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
50a0c551cd Remove duplicate check. 2023-08-03 15:06:44 +03:00
levlam
ff3a8e446e Add MessagesManager::load_last_dialog_message instead of get_history_from_the_end. 2023-07-28 14:33:54 +03:00
levlam
58a1ae8e8d Directly call get_history_impl if appropriate. 2023-07-28 14:19:43 +03:00
levlam
f5a066f7ed Support loading of history from the end in get_history_impl. 2023-07-28 14:12:22 +03:00