Commit Graph

43 Commits

Author SHA1 Message Date
levlam
b9c66aaea6 Support chat folder color. 2024-03-01 15:57:30 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
b34d1d2c25 Update has_my_invite_links when receive the list of all links. 2023-04-03 15:16:11 +03:00
levlam
613ab34f09 Add chatFilterInfo.has_my_invite_links. 2023-04-03 15:06:37 +03:00
levlam
8b97f76255 Add DialogFilter::get_icon_name_by_emoji. 2023-03-31 15:48:57 +03:00
levlam
d1c9cacf85 Add td_api::getChatFilterInviteLinks. 2023-03-30 17:15:04 +03:00
levlam
f12fedd4d6 Add class DialogFilterDialogInfo. 2023-03-27 18:34:25 +03:00
levlam
f4daa4b61a Move dialog filter list to DialogFilterManager. 2023-03-27 17:44:13 +03:00
levlam
debf8f5f68 Support shareable filters. 2023-03-24 15:32:47 +03:00
levlam
1ce9f9d27c Minor improvements. 2023-03-24 14:14:37 +03:00
levlam
a511f1c56f Improve field names in DialogFilter. 2023-03-23 17:26:24 +03:00
levlam
cb27d4bd07 Make DialogFilter fields private. 2023-03-22 23:19:32 +03:00
levlam
f10fb4b6b5 Add and use DialogFilter::get_pinned_dialog_ids(). 2023-03-22 23:09:57 +03:00
levlam
7871a4192a Add DialogFilter::is_dialog_pinned. 2023-03-22 23:05:13 +03:00
levlam
d0593a02c1 Add DialogFilter::can_have_archived_dialogs. 2023-03-22 22:35:37 +03:00
levlam
dc18ce7b0e Add and use DialogFilter::is_dialog_included. 2023-03-22 22:30:00 +03:00
levlam
dbf66634cf Add DialogFilter::can_include_dialog. 2023-03-22 14:26:05 +03:00
levlam
4c5651027e Add DialogFilter::set_pinned_dialog_ids. 2023-03-22 14:14:21 +03:00
levlam
ecc57d7b93 Move set_dialog_filters_order to DialogFilter. 2023-03-22 01:24:14 +03:00
levlam
f792137692 Add DialogFilter::need_dialog. 2023-03-22 01:17:07 +03:00
levlam
06940b2817 Add DialogFilter::get_chat_filter_object. 2023-03-22 01:00:54 +03:00
levlam
54a9f1a554 Completely delete DialogFilter if all chats there are inaccessible. 2023-03-22 00:28:18 +03:00
levlam
18b7ee5e62 Add DialogFilter::set_dialog_is_pinned/include_dialog. 2023-03-21 23:21:19 +03:00
levlam
739bc08a31 Add DialogFilter::remove_dialog_id. 2023-03-21 23:20:33 +03:00
levlam
c5c06a8523 Move get_dialog_filter_ids to DialogFilter. 2023-03-21 22:35:00 +03:00
levlam
bfc0361b02 Move get_dialog_filter_folder_ids to DialogFilter. 2023-03-21 17:02:09 +03:00
levlam
d8a7114a2b Move create_dialog_filter to DialogFilter. 2023-03-21 16:55:07 +03:00
levlam
9acf785389 Move sort_input_dialog_ids to class DialogFilter. 2023-03-21 16:26:06 +03:00
levlam
51c4c1368b Add DialogFilter::for_each_dialog. 2023-03-21 16:12:47 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
c584b48c10 Replace MAX_INCLUDED_FILTER_DIALOGS with a function. 2022-05-23 19:04:09 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
680bad4a72 Return default icon name if there is no chosen name in chatFilterInfo. 2021-12-24 20:42:49 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
deb006416b Add DialogFilter::get_chat_filter_info_object.
GitOrigin-RevId: e61ce8a03c53ee052283abf272edf11a9aaa6564
2020-06-07 21:51:21 +03:00
levlam
b1419f9de5 Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
2020-06-07 18:14:52 +03:00
levlam
cbf77e3786 Add synchronous td_api::getChatFilterDefaultIconName.
GitOrigin-RevId: 15072bd5fffdd55e9879e0e5076a567bfe56f432
2020-06-05 03:43:13 +03:00
levlam
25f77585c9 Move DialogFilter implementation to separate files.
GitOrigin-RevId: c58b7f42811242882f00d48152417826e465b5bc
2020-06-02 13:58:53 +03:00