Commit Graph

30 Commits

Author SHA1 Message Date
levlam
a2c6f4aa7c Move resolved usernames to DialogManager. 2024-01-07 23:45:33 +03:00
levlam
2c6917d044 Simplify RecentDialogList::removed_dialog_ids_ implementation. 2024-01-04 19:10:15 +03:00
levlam
eb5a37e927 Add DialogManager::force_create_dialog. 2024-01-04 15:38:01 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
c474942666 Use add_to_top. 2023-10-01 21:17:30 +03:00
levlam
606ee063d5 Don't try to load recent chats from database right after the database was deleted. 2023-09-20 20:40:34 +03:00
levlam
f1311610e5 Remove unneeded TdParameters.h includes. 2023-03-13 20:10:18 +03:00
levlam
835ee52491 Make TdParameters private in Global. 2023-03-13 19:47:38 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
897032e0fd Add support for multiple usernames. 2022-10-12 21:04:18 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
163e739302 Add set_promises/fail_promises helper functions. 2022-04-13 17:40:12 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
3b794126d8 Avoid G usage in lambda promises. 2021-10-07 15:28:52 +03:00
levlam
bcfc2a7dc1 Fix recent dialog list loading. 2021-10-05 10:44:13 +03:00
levlam
ddd2a223dd Prefer to save chats by ID if there is any database. 2021-09-26 20:03:03 +03:00
levlam
c5a2e9a870 Load only chats with known info in MessagesManager::load_dialogs. 2021-09-26 19:38:27 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
bee2893533 Add missing include. 2021-09-15 17:16:23 +03:00
levlam
55ad2e5f86 Load recent dialogs in one pass. 2021-09-14 11:31:21 +03:00
levlam
fa65e429eb Return void from RecentDialogList::load_dialogs. 2021-09-14 10:16:20 +03:00
levlam
dc35dea8a3 Use SliceBuilder in RecentDialogList::save_dialogs. 2021-09-13 21:47:11 +03:00
levlam
a68163b94c Simplify and optimize RecentDialogList::load_dialogs. 2021-09-13 21:36:07 +03:00
levlam
4b641df524 Load recent dialogs before adding/removing them. 2021-09-13 21:30:48 +03:00
levlam
77c8eb9617 Add promise to RecentDialogList::get_dialogs. 2021-09-13 20:52:17 +03:00
levlam
5bec536803 Add class RecentDialogList. 2021-09-13 20:34:57 +03:00