Commit Graph

5871 Commits

Author SHA1 Message Date
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
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
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
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
levlam
cc0d45a01c Add groupCallParticipant.is_current_user field. 2021-03-28 04:41:32 +03:00
levlam
9936cdc320 Fix handling of speaking in group call chat actions. 2021-03-28 04:03:00 +03:00
levlam
307821eb31 Never treat closed secret chats as just created. 2021-03-28 03:46:45 +03:00
levlam
7aa71edad2 Drop outdated *Full.invite_link stored in the database. 2021-03-28 03:36:14 +03:00
levlam
d74749c813 Drop basic group invite link if removed from administrators. 2021-03-28 03:25:08 +03:00
levlam
984e79b7f7 Drop channel invite link, only when corresponding administrator right is removed. 2021-03-28 02:35:11 +03:00
levlam
024601eb86 Don't call remove_dialog_access_by_invite_link on username change. 2021-03-28 02:07:38 +03:00
levlam
f7e9da283d Expect that there can be no access to group call participant channels. 2021-03-28 01:59:17 +03:00
levlam
879fd3b7c0 Use add_message_sender_dependencies for default group call alias. 2021-03-28 01:55:39 +03:00
levlam
2ba7fd0f18 Enable HTTP gzip text. 2021-03-28 01:51:51 +03:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam
66de95d93c Fix compilation errors and formatting. 2021-03-26 18:52:45 +03:00
Arseny Smirnov
258b6dd3bd use TD_EXPERIMENTAL_WATCH_OS=ON in example/ios 2021-03-26 18:09:13 +03:00
Arseny Smirnov
5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
Arseny Smirnov
f866729415 update architectures for watchOS in example/ios 2021-03-26 18:04:25 +03:00