Commit Graph

6005 Commits

Author SHA1 Message Date
levlam
a2e6a242f1 Fix getChatEventLog filter flags. 2021-04-08 23:01:12 +03:00
levlam
564b44d3b9 Fix ifdef check. 2021-04-08 22:17:55 +03:00
levlam
4abb995b05 Don't use online mode for bots having more than one session. 2021-04-08 15:51:29 +03:00
levlam
af1b774ffb Replace sender in messages sent by anonymous bot with the group itself. 2021-04-08 15:22:28 +03:00
levlam
6e099908cf Don't use sendmsg on Android. 2021-04-08 14:55:54 +03:00
levlam
9bb79b4b27 Ignore invalid Unicode strings in C++/CX. 2021-04-08 14:43:47 +03:00
levlam
2f687edf17 Don't decrease max_unavailable_message_id when processing MessageDeleteChatHistory. 2021-04-08 03:06:05 +03:00
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