Commit Graph

1717 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
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
levlam
65e7a271a2 Add variables for old/new content type. 2021-02-20 21:21:06 +03:00
levlam
de71870e83 Repair file_reference in reportChatPhoto. 2021-02-20 21:06:58 +03:00
levlam
c67a0d9d7b Add class ReportReason. 2021-02-20 03:55:09 +03:00
levlam
3774b13ca1 Add td_api::reportChatPhoto. 2021-02-19 19:11:27 +03:00
levlam
2e943a6c85 Fix misprint. 2021-02-19 16:37:44 +03:00
levlam
b9b6b05bae Don't allow changing auto-delete in Saved Messages and 777000. 2021-02-18 22:14:10 +03:00
levlam
998d022b2d Add td_api::chatEventVoiceChatParticipantVolumeLevelChanged. 2021-02-18 13:47:33 +03:00
levlam
79d2929584 support ttl_period for service messages. 2021-02-16 15:26:52 +03:00
levlam
65d4229352 Allow to specify report text for all report chat reasons. 2021-02-12 20:14:59 +03:00
levlam
c1a14d887b Don't send updateDeleteMessage twice for the same message. 2021-02-10 14:36:33 +03:00
levlam
d6da217b9a Allow changing message TTL in non-secret chats. 2021-02-09 18:51:08 +03:00
levlam
5ac0a9bd8a Add chatEventMessageTtlSettingChanged. 2021-02-09 18:10:20 +03:00
levlam
4423ccbde2 Add invite_link_changes filter for chat event log. 2021-02-09 17:59:57 +03:00