Commit Graph

1730 Commits

Author SHA1 Message Date
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
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
a54be3de0d Improve logging. 2021-04-05 21:26:14 +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
6dfe45c03c Fix unpinning of unknown chats. 2021-04-04 01:59:45 +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
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
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
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
732193b346 Fix default last_new_message_id in secret chats, broken in 9948e41aed. 2021-03-29 20:52:59 +03:00
levlam
c739df8507 Pass UserId instead of int32 when creating secret chat. 2021-03-29 11:57:26 +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
879fd3b7c0 Use add_message_sender_dependencies for default group call alias. 2021-03-28 01:55:39 +03:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam
6656cd29f9 Add version to GroupCallParticipant. 2021-03-19 02:44:20 +03:00
levlam
12a755d921 Don't ignore update about ended group call if group call is being joined. 2021-03-19 01:28:18 +03:00
levlam
62c9890bcf Support url_auth_domains. 2021-03-16 01:29:54 +03:00
levlam
95391dc705 Improve logging. 2021-03-15 16:42:03 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
574884510b Use MessageSender as participant_alias. 2021-03-08 18:08:41 +03:00
levlam
f24ca02f37 Add td_api::voiceChat class. 2021-03-08 17:00:39 +03:00
levlam
159c4f3f00 Remove race in default_join_as updating. 2021-03-08 15:27:47 +03:00
levlam
4eab57cd7b Add chat.default_join_voice_chat_as_chat_id. 2021-03-08 15:13:36 +03:00
levlam
caa1db85ab Prevent race in updating of joined voice chat. 2021-03-07 02:21:08 +03:00
levlam
0615d1f61d Prevent voice chat data updating during join. 2021-03-07 01:06:51 +03:00
levlam
16ab28f230 Allow to send speaking actions in read-only chats. 2021-03-05 20:06:37 +03:00
levlam
8ede5f736f Support speaking typings by chats. 2021-03-05 18:49:02 +03:00
levlam
a93189dade Support chats as group call participants. 2021-03-05 14:40:54 +03:00
levlam
bcf3643cf7 Update layer to 125. 2021-03-02 17:27:44 +03:00
levlam
45b21b1f33 Improve log messages. 2021-03-08 22:56:05 +03:00
levlam
b1da98faeb Fix possible integer overflow. 2021-03-03 15:10:00 +03:00
levlam
813b141148 Fix channelParticipantSelf handling. 2021-03-01 02:33:38 +03:00
levlam
eafdf2ebed Add td_api::getMessageImportConfirmationText. 2021-02-23 02:03:24 +03:00
levlam
16913bff03 Improve date changed warning. 2021-02-20 21:32:07 +03:00