Commit Graph

997 Commits

Author SHA1 Message Date
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
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
54c816d0ac Do not try to load active live locations if there is no message database.
GitOrigin-RevId: 012a87fff20d99e40916a63fa722ea75e2bbf974
2019-12-31 04:31:10 +03:00
levlam
e4e1e34cc5 Add active live location only after the message is added to the chat.
GitOrigin-RevId: 6016418f9330b6d754fd7b8cfa2a8c3127ad519d
2019-12-31 04:26:56 +03:00
levlam
f62b9f0bbd Do not add active live locations to the list for bots.
GitOrigin-RevId: 01b22101f53b70195dc4f90d2a4a9283ec2b7f95
2019-12-31 03:51:48 +03:00
levlam
aee34460ef Support messages from scheduled in Push notifications.
GitOrigin-RevId: f2fb0c8553453f140083afdbd697aa2e420da4c3
2019-12-30 04:51:37 +03:00
levlam
fcb877b78c Treat messages from scheduled as incoming for notifications.
GitOrigin-RevId: b9b428fb65734a1b9b1a9733408ffd828db19f55
2019-12-30 03:31:33 +03:00
levlam
34bea7d5d7 Fix CHECK.
GitOrigin-RevId: 96fb8c20d2622534cb3ff884ecb007ae49305d34
2019-12-29 23:39:54 +03:00
levlam
6903886372 Disallow calling setChatNotificationSettings in Saved Messages. It doesn't work anyway.
GitOrigin-RevId: bca3756bb3bc5f64c15543eda2f9cef3965a261d
2019-12-29 03:47:35 +03:00