Commit Graph

6223 Commits

Author SHA1 Message Date
levlam
0b53ace8d0 Improve deletion of deleted being sent messages. 2021-04-04 22:59:56 +03:00
Andrea Cavalli
1928c14a76 Bugfix 2021-04-04 16:58:56 +02:00
Andrea Cavalli
eefe39f16f Update MessagesManager.cpp 2021-04-04 16:50:56 +02:00
Andrea Cavalli
ae6ef91da2 Merge commit 'c36ed586e25eb9c3f822d595be2b0ef83a2b9fbc'
Conflicts:
	td/telegram/MessagesManager.cpp
2021-04-04 16:37:10 +02:00
Andrea Cavalli
a21920a7bd Bugfix 2021-04-04 16:23:07 +02:00
Andrea Cavalli
28a655151a Bugfix 2021-04-04 16:11:40 +02:00
Andrea Cavalli
d84dcceae4 Bugfix 2021-04-04 15:56:58 +02:00
levlam
d44e9e5577 Add source to delete_dialog_messages. 2021-04-04 03:54:27 +03:00
levlam
8039660cfe Reload objects from server if failed to resolve their dependencies. 2021-04-04 03:23:22 +03:00
levlam
c36ed586e2 Fix MoveFileExFromAppW. 2021-04-04 02:58:59 +03:00
levlam
6dfe45c03c Fix unpinning of unknown chats. 2021-04-04 01:59:45 +03:00
levlam
2ab94b9ca7 Add checks that SocketFd::read/write/writev return correct response. 2021-04-04 01:08:53 +03:00
levlam
e246201cf0 Add checks that FileFd::read/write/pread/pwrite/writev return correct response. 2021-04-04 00:47:30 +03:00
levlam
6285d98479 Fix writev on Windows. 2021-04-04 00:40:37 +03:00
levlam
84194768ae Add check that chats aren't created before MessagesManager is inited. 2021-04-03 22:41:26 +03:00
Andrea Cavalli
4a8d8a3ffb Bugfix 2021-04-03 14:52:16 +02:00
Andrea Cavalli
9c67d7a6b7 Fix disable_minithumbnails 2021-04-03 13:10:25 +02:00
Andrea Cavalli
1ce823b0e6 Merge commit '1bbcc01091c8ca92f79821790b8857edb5a1b6b4' 2021-04-03 12:53:29 +02:00
Andrea Cavalli
efb9c6b41d Add optiona pull-based backpressure system for get_channel_difference 2021-04-03 12:46:22 +02:00
levlam
5a885bd06d Add more logging. 2021-04-03 02:46:56 +03:00
levlam
bee68243e8 Fix CHECK. 2021-04-03 02:19:30 +03:00
levlam
1bbcc01091 Fix MessagePaymentSuccessful storing. 2021-04-02 17:04:51 +03:00
levlam
40740597f7 Add ChainBufferReader::advance debug. 2021-04-02 16:30:10 +03:00
levlam
5b6301c40c Fix payments native provider data. 2021-04-01 21:53:23 +03:00
levlam
e75d8ccadc Add check. 2021-04-01 21:27:40 +03:00
levlam
ffab6fe018 Remove top_thread_message_id from scheduled messages. 2021-04-01 21:10:25 +03:00
levlam
ea0280c589 Fix convert_address. 2021-03-31 17:51:51 +03:00
levlam
5508721497 Use add_message_dependencies to reliably find all dependent dialogs. 2021-03-31 16:17:25 +03:00
levlam
1bb13c0ab3 Remove unused parameter in add_message_dependencies. 2021-03-31 16:07:45 +03:00
levlam
b86a3fe227 Fix misprint. 2021-03-31 15:50:51 +03:00
levlam
b7e77765be Fix accessing group call's leave_version. 2021-03-31 15:45:21 +03:00
levlam
13a80bc4e8 Use send_closure_later to avoid cycles in add_message_to_dialog. 2021-03-29 22:36:29 +03:00
levlam
955ce5f946 Improve error message. 2021-03-29 22:25:06 +03:00
levlam
290293766f Improve error message. 2021-03-29 21:43:50 +03:00
levlam
224b560c83 Improve error message on access to a closed secret chat. 2021-03-29 21:26:31 +03:00
levlam
732193b346 Fix default last_new_message_id in secret chats, broken in 9948e41aed. 2021-03-29 20:52:59 +03:00
levlam
ad495c0d0c Skip error logging for deleted bots. 2021-03-29 18:10:37 +03:00
Arseny Smirnov
a51b63afdd more checks for watch os version 2021-03-29 16:26:11 +03:00
levlam
079c9919d2 Parse push_receiver_id as int64. 2021-03-29 16:23:50 +03:00
Andrea Cavalli
66a58daf70 Fix segmentation fault 2021-03-29 14:04:37 +02:00
levlam
c739df8507 Pass UserId instead of int32 when creating secret chat. 2021-03-29 11:57:26 +03:00
levlam
5de3751d8d Use int64 for sender_user_id in message database. 2021-03-29 11:28:43 +03:00
levlam
b5655ddab6 Pass UserId to Contact::Contact. 2021-03-29 08:20:54 +03:00
levlam
f5ab187bb2 Use UserId in PrivacyManager. 2021-03-29 01:34:33 +03:00
levlam
4f644ce389 Add and use statis UserId::get_user_ids/get_input_user_ids methods. 2021-03-29 00:50:15 +03:00
levlam
4df03c8491 Clamp float numbers before conversion to integers. 2021-03-28 22:33:22 +03:00
Andrea Cavalli
0c653e2526 Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e' 2021-03-28 12:57:26 +02:00
Andrea Cavalli
92f664614b Fix #18 2021-03-28 12:50:00 +02:00
levlam
fbc7e5a7f8 Don't update group call participant count by definitely already applied updates. 2021-03-28 05:34:58 +03:00
Sprite
0d1c310e32
Fix memory leak of "handlers_" in cpp example (#1464) 2021-03-28 04:46:30 +03:00