Commit Graph

7095 Commits

Author SHA1 Message Date
levlam
ecc8889cac Reload created public dialogs after local list changes. 2021-12-03 20:22:49 +03:00
levlam
fb9bb3cd69 Save and load lists of created public channels. 2021-12-03 20:10:30 +03:00
levlam
a33027a9c1 Preload createdPublicChannels after getDifference. 2021-12-03 16:36:27 +03:00
levlam
03baffcd1f Combine GetCreatedPublicChannels queries. 2021-12-03 15:40:39 +03:00
levlam
5e6628d5f9 Use list of created public channels to locally create list of available message senders. 2021-12-03 14:16:45 +03:00
levlam
93af4377b7 Store created public broadcasts in MessagesManager. 2021-12-03 12:28:33 +03:00
levlam
cffe34e5b2 Update created public channels instead of dropping them when ownership is changed. 2021-12-02 18:10:14 +03:00
levlam
b3bc208d63 Update created public channels after has_location is changed. 2021-12-02 17:12:33 +03:00
levlam
5512700b77 Immediately reload *Full after invalidation in opened chats. 2021-12-01 23:31:10 +03:00
levlam
39a8621182 Load special sticker sets from database before reloading them from server. 2021-12-01 22:05:40 +03:00
levlam
3b1ec88067 Reload special sticker sets only once simultaneously. 2021-12-01 20:30:02 +03:00
levlam
d5a7dc2638 Remove legacy animated_emoji_sticker_set_name option. 2021-12-01 20:03:52 +03:00
levlam
37d5a59422 Pass SpecialStickerSetType to add_special_sticker_set. 2021-12-01 19:59:45 +03:00
levlam
ab153e306a Allow to search for messages from inaccessible chats. 2021-11-30 15:07:14 +03:00
levlam
0c6922a0bf Fix chatEventAllowSavingContentToggled. 2021-11-30 13:32:01 +03:00
levlam
1c3d5df646 Check conditions for last_database_message_id updating only after last_new_message_id is inited. 2021-11-30 10:03:12 +03:00
levlam
5c33801bc7 Fix message resending. 2021-11-29 22:17:48 +03:00
levlam
4d9268c302 Early check for dialog_id correctness. 2021-11-29 22:13:06 +03:00
levlam
b8d20ca6bb Improve banning of channels. 2021-11-29 21:59:16 +03:00
levlam
c21796ec3a Dismiss SetPassword suggested action when the password is set. 2021-11-26 21:06:49 +03:00
levlam
8a9506c1de Add MessagesManager::can_save_message. 2021-11-26 17:21:21 +03:00
levlam
f5c65b83ee Add suggestedActionSetPassword. 2021-11-26 16:22:39 +03:00
levlam
4084b30a52 Keep initial sender when resending messages if possible. 2021-11-25 17:01:54 +03:00
levlam
6f835c12ee Add messageSendingStateFailed.need_another_sender. 2021-11-25 16:55:03 +03:00
levlam
5845917498 Reload full dialog info after receiving SEND_AS_PEER_INVALID. 2021-11-25 16:14:17 +03:00
levlam
baf4310807 Explicitly pass send_as chat. 2021-11-25 15:49:51 +03:00
levlam
c1a5d4b76b Add message.can_be_saved. 2021-11-25 13:47:54 +03:00
levlam
0ce9391ff1 Increase Chat/Channel cache version to get actual value of noforwards. 2021-11-25 11:45:42 +03:00
levlam
10159fbdf1 Add toggleChatAllowSavingContent. 2021-11-25 11:44:51 +03:00
levlam
07a2932154 Disallow forwarding from chats with restricted content saving. 2021-11-24 20:13:09 +03:00
levlam
52d67ae167 Reload chat info if receive CHAT_FORWARDS_RESTRICTED. 2021-11-24 20:09:32 +03:00
levlam
d381323f56 Add chat.allow_saving_content flag. 2021-11-24 20:03:38 +03:00
levlam
47d0195c85 Add toggleSessionCanAcceptCalls method. 2021-11-24 17:59:17 +03:00
levlam
f41be864d0 Add session.can_accept_calls. 2021-11-24 17:33:16 +03:00
levlam
b49d315868 Make SendCodeHelper::resend_code const. 2021-11-24 17:19:16 +03:00
levlam
30e4350689 Support authentication tokens. 2021-11-24 17:01:02 +03:00
levlam
f1f54a08ab Allow to restrict unaccessible channels in chats. 2021-11-24 15:18:39 +03:00
levlam
fd71b62045 Improve method name. 2021-11-24 14:03:35 +03:00
levlam
8f33f96e8c Allow tg:user URLs in inline keyboard buttons. 2021-11-24 13:05:56 +03:00
levlam
0b2207f180 Add td_api::processChatJoinRequests. 2021-11-24 12:02:23 +03:00
levlam
7c0a4117a4 Replace approve/decline with a single method processChatJoinRequest. 2021-11-24 11:33:18 +03:00
levlam
cb7bd82c01 Add chatEventAllowSavingContentToggled. 2021-11-23 16:07:26 +03:00
levlam
5068f585bb Add authenticationCodeTypeMissedCall. 2021-11-23 15:21:22 +03:00
levlam
6143bb1b94 Replace color_replacements with fitzpatrick_type as needed by the latest rlottie version. 2021-11-23 15:01:12 +03:00
levlam
a761e41196 Cancel pending chat action after default send message as has changed. 2021-11-23 14:47:02 +03:00
levlam
acc43bb0b5 Allow typings by chats and rename updateUserChatAction to updateChatAction. 2021-11-23 14:29:49 +03:00
levlam
2eb5f1195c Add chatActionBarJoinRequest. 2021-11-23 13:06:38 +03:00
levlam
11b13021d2 Improve condition for changed forward_info warning. 2021-11-22 17:31:55 +03:00
levlam
f644dedcfa Replace private forward name before forwarding. 2021-11-22 11:17:28 +03:00
levlam
8f2a09f2cb Add userFullInfo.has_private_forwards. 2021-11-20 22:48:44 +03:00