Commit Graph

19 Commits

Author SHA1 Message Date
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