levlam
|
ebae9298a6
|
Remove unneeded logging.
|
2021-10-06 13:10:28 +03:00 |
|
levlam
|
bcfc2a7dc1
|
Fix recent dialog list loading.
|
2021-10-05 10:44:13 +03:00 |
|
levlam
|
48025d969c
|
Document necessity of TDLib instance closing.
|
2021-10-05 00:59:35 +03:00 |
|
levlam
|
f10abb253e
|
Add database consistency checks.
|
2021-10-04 11:01:49 +03:00 |
|
levlam
|
b6d9252279
|
Update message_count_by_index even there is no message database.
|
2021-10-03 15:12:56 +03:00 |
|
levlam
|
11af0a058d
|
Add source to get_message_object.
|
2021-10-03 14:54:40 +03:00 |
|
levlam
|
e2bbd02d8c
|
Check that server returns messages in the correct chat in event log.
|
2021-10-03 14:20:52 +03:00 |
|
levlam
|
49ab7cd53a
|
Use messages.getSearchCounters.
|
2021-10-03 13:47:50 +03:00 |
|
levlam
|
0455b313b3
|
Improve testNetwork implementation.
|
2021-10-02 16:54:01 +03:00 |
|
levlam
|
d1532ef1f8
|
Improve result handlers storage.
|
2021-10-02 14:39:20 +03:00 |
|
levlam
|
bb9bb91c9c
|
URL-decode fragment to find matching anchor.
|
2021-10-01 21:55:07 +03:00 |
|
levlam
|
cd9a89fd7d
|
Send updateAnimatedEmojiMessageClicked in non-opened chats.
|
2021-10-01 20:05:11 +03:00 |
|
levlam
|
13c48e590d
|
Fix profile photo reuploading.
|
2021-10-01 19:19:14 +03:00 |
|
levlam
|
4a185caa74
|
Check message_id of loaded from database messages.
|
2021-10-01 16:43:02 +03:00 |
|
levlam
|
4d180ff0e1
|
Add MessageId to MessagesDbMessage.
|
2021-10-01 15:23:38 +03:00 |
|
levlam
|
ad3b9c822d
|
Use struct MessagesDbDialogMessage to return messages in a known chat from database.
|
2021-10-01 12:55:12 +03:00 |
|
levlam
|
813e32a265
|
Simplify on_get_message_from_database usage.
|
2021-10-01 11:36:32 +03:00 |
|
levlam
|
314035a129
|
Use MessagesDbMessage instead of std::pair.
|
2021-10-01 11:22:56 +03:00 |
|
levlam
|
37a10fad57
|
Fix compilation error.
|
2021-10-01 00:12:28 +03:00 |
|
levlam
|
4f9b35ea72
|
Use get_contact in importContacts and changeImportedContacts.
|
2021-09-30 14:18:01 +03:00 |
|
levlam
|
44efa70789
|
Pass Contact to add_contact.
|
2021-09-30 13:53:16 +03:00 |
|
levlam
|
5f19e0267f
|
Add warning if TdDb::check_encryption fails.
|
2021-09-29 20:59:20 +03:00 |
|
levlam
|
2d9b7a6e93
|
Run loop after toggled top chats just in case.
|
2021-09-29 20:23:39 +03:00 |
|
levlam
|
665ae9434e
|
Use error code 400 in Td.cpp.
|
2021-09-29 19:19:24 +03:00 |
|
levlam
|
0686a0cade
|
Exclude chats from chat list from the local public chats search.
|
2021-09-29 18:40:36 +03:00 |
|
levlam
|
888bd7988c
|
Add warning on failed to open database.
|
2021-09-29 17:15:36 +03:00 |
|
levlam
|
7caa3075b8
|
Add CHECK debug.
|
2021-09-29 17:13:50 +03:00 |
|
levlam
|
90c0f18507
|
Send authorizationStateClosing when closing before initialization.
|
2021-09-29 15:41:53 +03:00 |
|
levlam
|
14c2a990b1
|
Add get_draft_message function.
|
2021-09-29 14:06:43 +03:00 |
|
levlam
|
2ce0be4fe7
|
Remove getChatStatisticsUrl method.
|
2021-09-28 19:08:36 +03:00 |
|
levlam
|
cdb06da112
|
Add "; pass null" annotations for expected to be null request parameters.
|
2021-09-28 17:31:00 +03:00 |
|
levlam
|
26ff41deab
|
Reload message from server after receiving MESSAGE_ID_INVALID for a callback query.
|
2021-09-28 00:14:57 +03:00 |
|
levlam
|
36cbba4d2c
|
Use request promise in td_api::getCallbackQueryAnswer implementation.
|
2021-09-27 23:22:10 +03:00 |
|
levlam
|
a04423ad66
|
Use ClientManager in td_c_client.
|
2021-09-26 22:17:02 +03:00 |
|
levlam
|
493a9e5457
|
Erase more keys from binlog after database is deleted.
|
2021-09-26 21:15:31 +03:00 |
|
levlam
|
bc84bfecab
|
Remove legacy loading of recent inline bots only by username.
|
2021-09-26 20:23:40 +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
|
d882e222a7
|
Make FileStats fields private.
|
2021-09-26 12:44:18 +03:00 |
|
levlam
|
e584aa6520
|
Remove last get_actor_unsafe usages in TopDialogManager.
|
2021-09-25 22:33:55 +03:00 |
|
levlam
|
81dca20328
|
Directly call managers in TopDialogManager.
|
2021-09-25 22:02:55 +03:00 |
|
levlam
|
76a45c8dc0
|
Imppement GetTopPeersQuery as ResultHandler.
|
2021-09-25 21:43:59 +03:00 |
|
levlam
|
d3983571a0
|
Add TopDialogCategory.cpp.
|
2021-09-25 21:27:32 +03:00 |
|
levlam
|
53dab67f7b
|
Use ResetTopPeerRatingQuery instead of dispatch_with_callback.
|
2021-09-25 21:12:36 +03:00 |
|
levlam
|
1849953e78
|
Implement ToggleTopPeers as ResultHandler.
|
2021-09-25 20:33:51 +03:00 |
|
levlam
|
9115ba4aa5
|
Move topChat methods logic to TopDialogManager.
|
2021-09-25 11:37:32 +03:00 |
|
levlam
|
5091aa68e3
|
Allow direct access to TopDialogManager.
|
2021-09-24 23:17:38 +03:00 |
|
levlam
|
54277497f7
|
Save chat themes to binlog.
|
2021-09-24 17:17:32 +03:00 |
|
levlam
|
ef1bfc7c3e
|
Improve field names.
|
2021-09-24 16:53:42 +03:00 |
|
levlam
|
66170213fc
|
Add store/parse_background.
|
2021-09-24 16:03:01 +03:00 |
|