Commit Graph

1005 Commits

Author SHA1 Message Date
levlam
dafbedaefe Improve reading chat history.
GitOrigin-RevId: 82e2fc0ca2cbf1c59507fb74120732433ac15603
2020-02-19 20:02:42 +03:00
levlam
e72346cb6f Make repair_channel_server_unread_count persistent.
GitOrigin-RevId: f99be75116f3e5bbfa2224d74723ec4fa5feaa91
2020-02-19 04:14:58 +03:00
levlam
9be2629d24 Update unread_count id last_read_inbox_message_id is not changed.
GitOrigin-RevId: 0c0d82d21ab4401748dddecd26f5a2e544a410a7
2020-02-19 04:02:56 +03:00
levlam
e8af355da9 Do not try to repair unread count in chats not from the chat list.
GitOrigin-RevId: e0743710087c8f35b2772bbac13f1ddad82cc2a3
2020-02-19 03:26:37 +03:00
levlam
fb37825688 Fix last_read_inbox_message_id received through getChannelDifference.
GitOrigin-RevId: 393c920b8c1ff4e5b3469bf8f605111df22c86cb
2020-02-19 03:16:57 +03:00
levlam
6356d8193c Repair again server unread count until it is successfully repaired.
GitOrigin-RevId: 6ec55caaba86e8374a56aeeb22c6486a5b19f508
2020-02-19 03:09:18 +03:00
levlam
6c34d4628d Add source to set_dialog_pinned_message_notification.
GitOrigin-RevId: db3c87f7a5b9c36db19db8346161d95e72a78bbf
2020-02-18 20:28:16 +03:00
levlam
1f01e5ad43 Additional case for pinned message preloading.
GitOrigin-RevId: 038c9b4c1242afaa87487af8c4e4c51be24af537
2020-02-18 20:17:16 +03:00
levlam
fa457236e0 Ignore duplicate auth notifications.
GitOrigin-RevId: 103e8ca99f2b2e35455ccd426a415177287bd814
2020-02-13 03:03:50 +03:00
levlam
a7e6deeab5 Add more checks that updateNewChat was sent.
GitOrigin-RevId: deaaef2b986c3d780ad7f06007b2719ff34d7a65
2020-02-13 01:22:25 +03:00
levlam
fb0bf583ea Better log messages.
GitOrigin-RevId: 75b00311ddb4775305ca235f5276d5b0dd328bf1
2020-02-12 20:25:39 +03:00
levlam
9964c011ec Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
2020-02-12 03:05:54 +03:00
levlam
660acfef22 Allow outdated unacceptable updates to avoid getDifference after trying to apply every such pending update.
GitOrigin-RevId: 61944ec2b4e81fa2ca61bee5887220964e0c9cbc
2020-02-04 04:06:20 +03:00
levlam
8539d43951 Silence warning about wrong message entities for messages from albums.
GitOrigin-RevId: 13a60e258ab6aae8c80d5ea4cd8bb7037f56985c
2020-01-29 02:05:12 +03:00
levlam
5e0df6f352 Remove unused variable.
GitOrigin-RevId: 82b19ad7cbc3ef47e88e593919274d820ec77e3b
2020-01-27 17:09:12 +03:00
levlam
a89654c3a9 Remove some debug variables.
GitOrigin-RevId: 98b80744574adaa92dea450db049cd166565fc48
2020-01-27 14:28:18 +03:00
levlam
4a1125887a Move update_used_hashtags to MessageContent.cpp.
GitOrigin-RevId: 67b8a3defbc9f2249dff0d57a40bd42ec743cd39
2020-01-27 03:34:23 +03:00
levlam
e666d10c8d Do not include TopDialogManager in MessagesManager.
GitOrigin-RevId: 364ebfc86bc49d8b64a60a82a3383210531774c3
2020-01-27 03:25:23 +03:00
levlam
985e051bbe Add TopDialogCategory.h.
GitOrigin-RevId: ce481612a17e38268b8b2c3a9d7b9ebad5cb572d
2020-01-27 03:19:54 +03:00
levlam
c36d45153c Move resolve_dependencies to Dependencies.cpp.
GitOrigin-RevId: a14d38050af2a7d24f87642e63147642603a7ea5
2020-01-27 03:09:05 +03:00
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
f2a4d70865 Register scheduled message contents.
GitOrigin-RevId: 1942ff1c3976ee24969d1c25a94fb89639ffa906
2020-01-25 04:00:43 +03:00
levlam
67e4871ea0 Add reregister_message_content.
GitOrigin-RevId: 53c250a8e805dba37dc4ee255472935762ee609a
2020-01-25 03:50:23 +03:00
levlam
3a78a9160b Improve logging.
GitOrigin-RevId: 0031ef075ec02edf1257674fa69412609eaec4d7
2020-01-24 16:43:37 +03:00
levlam
970cbe1c97 Do not call get_active_live_location_messages while adding just loaded from database live locations.
GitOrigin-RevId: 078ed7af9e7f31eaf207751b25542c224c851f82
2020-01-24 01:16:18 +03:00
levlam
84ecdac7be Resave live location list if some locations expired.
GitOrigin-RevId: 35b949ff6735f4a060a1c7e4af6153eb607d1962
2020-01-24 01:14:43 +03:00
levlam
359153c212 Fix need_delete_file for outgoing messages.
GitOrigin-RevId: 51ac837238bec39b12caeb6cc2ec28e5ca6c8cc3
2020-01-19 04:55:15 +03:00
levlam
075b6f909f Recalc unread chat count after receive of first chats.
GitOrigin-RevId: a69510e2078d61647619b3d53505148d2005ce5c
2020-01-19 04:19:25 +03:00
levlam
8350443093 Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
2020-01-18 07:01:05 +03:00
levlam
8ea7e4eccf Fix getMessageLinkInfo for messages in unknown public chats.
GitOrigin-RevId: 7c8b1e0d09d27d96afa930fe5101128c4084fb08
2020-01-18 02:20:28 +03:00
levlam
cde26abe1e Add and use can_have_input_media function.
GitOrigin-RevId: f40cb99154f6429f071dc9785f94a62322ef123e
2020-01-16 06:10:08 +03:00
levlam
4ec628fc78 Add Game::has_input_media.
GitOrigin-RevId: 13be31df3a93d495628f64d7cedc767a6e030a68
2020-01-16 05:18:06 +03:00
levlam
66bd2bfe60 Return typings for users with hidden online status.
GitOrigin-RevId: 6794e84c2ad0b497901d95b10e7e787b02ecfaa7
2020-01-16 04:42:12 +03:00
levlam
9b16d530fd Return accidentally deleted call to cancel_user_dialog_action.
GitOrigin-RevId: c069dfd631a28363ad4d5f237ac1628ef8c5eb5e
2020-01-16 04:08:54 +03:00
levlam
695782fa84 Disable back sending polls to saved messages.
GitOrigin-RevId: 7ad07014892a38c542c6c8ef8962c92a8afc3bd6
2020-01-15 03:13:15 +03:00
levlam
d6b87bd121 Fix TODO in can_resend_message.
GitOrigin-RevId: 87830112e4e9f711774615d0038271892958a191
2020-01-15 02:58:34 +03:00
levlam
7ffd9ad7c9 Move checks for Game message content in dup_message_content.
GitOrigin-RevId: e9d5ad1216c5178b4990b4f17bc5c808cd70cb6f
2020-01-15 02:44:24 +03:00
levlam
ebaea15679 Introduce MessageContentDupType.
GitOrigin-RevId: 06e0728b6853f0c7ec065a1b5eba8e448a8e9835
2020-01-15 02:11:26 +03:00
levlam
4317cc3ef5 Add content checks after dup_message_content.
GitOrigin-RevId: cba1a103b02381490561213391e95f0e4aa08d64
2020-01-15 01:45:59 +03:00
levlam
fa31f168b5 Update layer 109. Add keyboardButtonTypeRequestPoll.
GitOrigin-RevId: eae6bb600cef6eb4d9386c4dc2a762d065b1fa09
2020-01-14 20:18:35 +03:00
levlam
656fda701f Allow bots to send polls to private chats.
GitOrigin-RevId: c1e274b1f0b8a7c7eec8edc304976f8b07b25164
2020-01-13 21:26:58 +03:00
levlam
4e22f29c53 Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
2020-01-13 21:21:58 +03:00
levlam
a7501e1582 Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
2020-01-11 03:46:26 +03:00
levlam
37cab6d1fc Do not unload last edited message in the chat.
GitOrigin-RevId: d8a5f8053f8d0ef6bd86f503a456f6631a5f9d9e
2020-01-08 04:34:15 +03:00
levlam
eecb70d006 Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
2020-01-07 18:16:57 +03:00
levlam
dbc2e30eff Do not send updateChatActionBar about nonexistent secret chats.
GitOrigin-RevId: 64fe7ef6e66612428fa6b65ed68e89c3de9eab4c
2020-01-06 20:44:21 +03:00
levlam
2dea8aea06 Fix code duplication.
GitOrigin-RevId: 8b4784e364d1e4d016a22bc6806bf732d5d5ac7a
2020-01-06 20:40:58 +03:00
levlam
c627c79b6a Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
2020-01-06 04:45:05 +03:00
levlam
e44b02fe45 Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
2020-01-03 01:48:23 +03:00
levlam
76e363cbe9 Allow bots to delete unknown messages.
GitOrigin-RevId: f9cecdf316fb28aacbbef657eaf83554563e6f5e
2020-01-02 17:47:32 +03:00