Commit Graph

6098 Commits

Author SHA1 Message Date
levlam
d6015184ee Improve log message. 2021-04-08 02:55:17 +03:00
levlam
5e7f0e8849 Remove unneeded logging. 2021-04-08 02:25:24 +03:00
levlam
525f72263d Delete old messages using set_dialog_max_unavailable_message_id when receive MessageChatDeleteHistory. 2021-04-08 02:19:14 +03:00
levlam
9ea4bc3476 Delete from database loaded messages in cleared history part. 2021-04-08 01:59:44 +03:00
levlam
94368950a6 Remove wrong CHECK. It is wrong to compare orders with different keep_active_date. 2021-04-08 01:23:04 +03:00
levlam
a0dcd2d9c2 Add optional source to have_dialog_force. 2021-04-08 00:51:32 +03:00
levlam
0a0c9a6f96 Add optional source to get_dialog_force. 2021-04-08 00:42:21 +03:00
levlam
5a7015b9fe Improve CHECK messages. 2021-04-07 23:43:24 +03:00
levlam
ad17a75f28 Add source to add_new_dialog. 2021-04-07 23:35:09 +03:00
levlam
55662f5db6 Add CHECK debug. 2021-04-06 12:33:08 +03:00
levlam
c171c9a743 Improve fatal error message. 2021-04-06 01:19:30 +03:00
levlam
268dd2cf12 Increase MessageUnsupported version. 2021-04-06 00:40:31 +03:00
levlam
35d6145d66 Drop loaded_all_participants if receive a group call participant in non-loaded part of the list. 2021-04-05 22:50:57 +03:00
levlam
2c154f5e4a Add source to send_update_group_call_participant. 2021-04-05 22:39:38 +03:00
levlam
8b4410d2bf Improve group call participant logging. 2021-04-05 22:24:10 +03:00
levlam
a54be3de0d Improve logging. 2021-04-05 21:26:14 +03:00
levlam
c4eb613a7a Always include self to participant count in joined calls. 2021-04-05 03:02:52 +03:00
levlam
514777aaf1 Fix infinite updates processing. 2021-04-05 02:27:13 +03:00
levlam
f51e7b5481 Fix handling of group call participant list with one participant. 2021-04-05 01:52:20 +03:00
levlam
9aef50a2ee Fix GroupCallParticipantOrder::get_group_call_participant_order_object. 2021-04-05 01:19:08 +03:00
levlam
62a858807a Drop loaded_all_participants if new user was added to the end of the list. 2021-04-05 01:14:45 +03:00
levlam
09859193b1 Add source to on_group_call_left_impl. 2021-04-05 00:33:21 +03:00
levlam
02c9caafc0 Fix FromApp building for UWP. 2021-04-04 23:40:05 +03:00
levlam
d3030445c5 Improve logging. 2021-04-04 23:31:08 +03:00
levlam
2246b81d6f Immediately delete already deleted sent message instead of storing updateMessageID. 2021-04-04 23:23:08 +03:00
levlam
0b53ace8d0 Improve deletion of deleted being sent messages. 2021-04-04 22:59:56 +03: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
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