Commit Graph

4365 Commits

Author SHA1 Message Date
levlam
7bf916f4f5 Support muting group call participants for self. 2020-12-31 02:48:45 +03:00
levlam
91e5b9e677 Update layer to 123. Rename Android Pay to Google Pay. 2020-12-29 16:43:58 +03:00
levlam
4e710553ef Don't try to merge GIF animation with generated MP4 animation. 2021-01-28 15:11:14 +03:00
levlam
797aaecf2a Prefer video dimensions over image size attribute. 2021-01-28 15:03:52 +03:00
levlam
3f856ccb46 Don't load dialog after ChatFull is loaded from database. 2021-01-25 17:58:19 +03:00
levlam
cec5f11d17 Don't save group administrators after basic group full is loaded from database. 2021-01-25 17:41:49 +03:00
levlam
d25edad06d Rewrite searchChatMembers and getSupergroupMembers implementation. 2021-01-25 17:34:45 +03:00
levlam
60673fea78 Add get_chat_members_object method. 2021-01-25 02:07:38 +03:00
levlam
ef160aa2c0 Add struct DialogParticipants. 2021-01-25 02:00:57 +03:00
levlam
feba24f1f4 Improve updating first/last database message IDs in on_get_history. 2021-01-25 01:19:41 +03:00
levlam
c169067bb5 Improve logging. 2021-01-24 23:45:03 +03:00
levlam
e63776dbd3 Improve updating first/last database message IDs in on_get_history. 2021-01-24 23:27:53 +03:00
levlam
08b3ce0aac Fix updating last database message ID after channelDifferenceTooLong. 2021-01-24 23:07:55 +03:00
levlam
d36ee86027 Stricter conditions for setting have_full_history. 2021-01-24 22:45:25 +03:00
levlam
fc2941763b Fix LibreSSL 3+ support. 2021-01-24 21:59:03 +03:00
levlam
527c61caeb Skip send_update_chat_has_scheduled_messages call if there was no scheduled message changes. 2021-01-24 03:29:54 +03:00
levlam
77a404d313 Delete updateMessageId if target message is in inaccessible chat part. 2021-01-24 03:20:19 +03:00
levlam
3e90584859 Delete updateMessageId whenever target message is found to be deleted. 2021-01-24 02:49:01 +03:00
levlam
c3e4560811 Add MessagesManager::delete_update_message_id method. 2021-01-24 02:14:51 +03:00
levlam
960aae0ae6 Improve handling of via_bot_name. 2021-01-23 23:19:37 +03:00
levlam
6e20aaa428 Add source to get_dimensions. 2021-01-23 22:04:35 +03:00
levlam
ae59f017e7 Fix expires_in == 0 in schedule_get_promo_data. 2021-01-23 21:39:41 +03:00
levlam
9c961b2eb8 Optimize database_message_id updating in on_get_history. 2021-01-21 23:37:00 +03:00
levlam
6729581d03 Clamp wrong dialog action progress instead of ignoring. 2021-01-21 23:19:40 +03:00
levlam
31265c93f1 Add ability to check whether a user is a mutual contact. 2021-01-21 16:49:41 +03:00
levlam
9a575cdb56 Forcely ignore updateChat received in getDifference. 2021-01-20 15:14:16 +03:00
levlam
e72c129f9c Ignore getDifference errors while closing. 2021-01-18 15:54:29 +03:00
levlam
027c78c691 Remove wrong error logging. 2021-01-18 13:32:44 +03:00
levlam
520f55d31f Remove expected error logging. 2021-01-18 12:58:16 +03:00
levlam
451c0afe60 Fix ChatFullInfo reloading due to uninited is_is_blocked_inited. 2021-01-16 12:33:45 +03:00
levlam
2348e175d9 Add source to get_chat_full_force. 2021-01-16 12:30:48 +03:00
levlam
52b7f8f118 Add DialogParticipantFilter logging. 2021-01-16 11:56:02 +03:00
levlam
db77165dad Optimize ContactsManager::search_among_users. 2021-01-16 03:14:15 +03:00
levlam
35c4562fc5 Make on_server_pong private. 2021-01-16 02:59:03 +03:00
levlam
7a94cac200 Make on_get_updates_state private. 2021-01-16 02:55:47 +03:00
levlam
7c0af14d09 Make on_get_difference private. 2021-01-16 02:44:58 +03:00
levlam
0e961b0be7 Move dummyUpdate/updateSentMessage to UpdatesManager. 2021-01-16 01:51:01 +03:00
levlam
004876dcf0 Make get_pts/get_qts/get_date private. 2021-01-16 01:42:06 +03:00
levlam
ef920f297d Move handling of pending pts updates to UpdatesManager. 2021-01-16 01:17:35 +03:00
levlam
3c1341731c Move check_pts_update to UpdatesManager. 2021-01-15 23:39:34 +03:00
levlam
67403c586b Remove force_apply parameter from on_update. 2021-01-15 19:32:16 +03:00
levlam
24664db3cb Forcely process qts updates in process_updates. 2021-01-15 19:09:00 +03:00
levlam
76fac90693 Simplify telegram_api::updateMessageID processing. 2021-01-15 18:52:41 +03:00
levlam
2eacc1f974 Forcely process pts updates in process_updates. 2021-01-15 18:45:26 +03:00
levlam
dc45d89848 Make searchStickers response cache time-bound. 2021-01-15 14:54:07 +03:00
levlam
cb24fd8037 Add struct FoundStickers. 2021-01-15 14:01:59 +03:00
levlam
10ec257921 Hide message interaction info for yet unsent supergroup messages. 2021-01-15 14:01:48 +03:00
levlam
36b4c55927 Remove force_apply from add_pending_update. 2021-01-12 01:52:10 +03:00
levlam
840391b95c Add is_pts_update/is_qts_update. 2021-01-11 23:58:03 +03:00
levlam
efec8787d8 Add MessagesManager::check_pts_update. 2021-01-11 23:31:25 +03:00