Commit Graph

325 Commits

Author SHA1 Message Date
levlam
32898dbe88 Move get_chat_ids_object and get_chats_object to DialogManager. 2024-01-04 16:13:20 +03:00
levlam
eb5a37e927 Add DialogManager::force_create_dialog. 2024-01-04 15:38:01 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
d20ed201b0 Update layer to 167. 2023-11-09 19:37:26 +03:00
levlam
129a04b24d Add pushMessageContentPremiumGiveaway. 2023-10-13 13:28:01 +03:00
levlam
ce5f63c5aa Add pushMessageContentPremiumGiftCode. 2023-10-13 13:11:13 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
levlam
74679944af Remove error-prone server_time_cached. 2023-10-04 12:24:58 +03:00
levlam
4b3750cefe Simplify conditions in lambda. 2023-08-27 01:20:51 +03:00
levlam
f7887181c4 Add NotificationObjectFullId class. 2023-08-26 03:13:39 +03:00
levlam
989dc3d8a6 Fix removal of notifications from pending updates. 2023-08-26 02:14:00 +03:00
levlam
fcf7748758 Improve method names. 2023-08-25 02:34:11 +03:00
levlam
4455255d9b Add class NotificationObjectId. 2023-08-25 02:04:44 +03:00
levlam
370bb0c93e Add NotificationGroupType traits. 2023-08-25 00:45:28 +03:00
levlam
499c2002ed Forcely create notification settings chat when adding a notification. 2023-08-24 17:39:09 +03:00
levlam
fbc74dc8f4 Add and use NotificationManager::have_group_force. 2023-08-23 19:16:57 +03:00
levlam
d19b659337 Simplify JSON object processing in NotificationManager. 2023-07-31 19:16:24 +03:00
levlam
3303c659bf Use JsonOnject::extract_ if possible. 2023-07-31 18:27:10 +03:00
levlam
7a80136478 Use JsonObject::has_field. 2023-07-31 17:53:17 +03:00
levlam
58f15df705 Use JsonObject::get_.*_field if possible. 2023-07-31 17:17:52 +03:00
levlam
59044294a8 Make JsonObject class. 2023-07-31 13:31:48 +03:00
levlam
a3e277f7c0 Add source to get_user_force. 2023-07-20 20:38:25 +03:00
levlam
2bf47d0809 Minor fixes. 2023-07-01 16:22:01 +03:00
levlam
6c4e6eb6ff Explicitly pass Td to get_notification_type_object. 2023-06-25 00:09:48 +03:00
levlam
70e84101ac Support READ_STORIES push notifications. 2023-06-22 21:24:44 +03:00
levlam
b151c1b8b2 Add td_api::pushMessageContentStory. 2023-06-22 21:18:04 +03:00
levlam
f39b906b28 Support STORY_DELETED push notification. 2023-06-22 15:56:34 +03:00
levlam
bf4694db65 Improve error messages. 2023-05-30 15:02:42 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00
levlam
e626b5f68f Drop binlog events if message database was deleted. 2023-05-15 18:16:55 +03:00
levlam
bed72ccf14 Improve variable names. 2023-04-22 23:46:43 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
10562f5bac Add pushMessageContentChatSetBackground. 2023-04-10 15:14:03 +03:00
levlam
a45d2de881 Update layer to 158. 2023-03-21 14:11:43 +03:00
levlam
375a024585 Remove redundant lambda creation. 2023-04-02 23:52:36 +03:00
levlam
b6a6c07de5 Add optional source to MultiTimeout::cancel_timeout. 2023-03-17 01:02:30 +03:00
levlam
47bd6b4ded Don't cancel NotificationManager timeouts while closing. Callbacks will do nothing anyway. 2023-03-13 23:33:31 +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
b13ab1e148 Avoid some MultiTimeout usages in NotificationManager while closing. 2023-03-08 16:25:58 +03:00
levlam
ffcc1719ef Improve log message spelling. 2023-02-26 13:41:49 +03:00
levlam
882de6e8e8 Replace unsafe to maintain data_ field with get_data() method. 2023-02-02 03:08:26 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
9768637010 Add pushMessageContentSuggestProfilePhoto. 2022-12-25 21:29:56 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
ab3f7856a9 Explicitly ignore READ_REACTION notifications. 2022-10-03 17:22:20 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
26bd2c71b3 Remove my_id from Global. 2022-08-18 20:21:40 +03:00