Commit Graph

1312 Commits

Author SHA1 Message Date
levlam
6f813b25ac Add reload_chat/reload_channel methods.
GitOrigin-RevId: 82f650328672dcde337f692d986a338e48711d91
2019-01-15 01:38:17 +03:00
levlam
303a006fb3 Add reload_user_profile_photo method.
GitOrigin-RevId: cc0e9d51b98adcb359310a239e707a7ef5e0523a
2019-01-14 23:04:53 +03:00
levlam
b19dacf20b Do not try to load history in empty chats.
GitOrigin-RevId: 6ab22148eff7843abe251f7138e79f1f69f05b17
2019-01-14 01:32:30 +03:00
levlam
90cde3dea0 Better handling of empty dialogs and last pending message.
GitOrigin-RevId: cb9905ab05a7f60c2430d64b6f6a17ddbd54beb3
2019-01-14 01:22:06 +03:00
levlam
ee2d557531 Fix wrong calls to remove_notification.
GitOrigin-RevId: 3e752924af1511d9fd8f721fde93aa90e7f96123
2019-01-13 23:26:14 +03:00
levlam
ca4fe0ecb3 Support unencrypted pushes in getPushReceiverId.
GitOrigin-RevId: f8404aec776934ae804f7b76dd8cbbe352ace50b
2019-01-13 22:56:38 +03:00
levlam
4618d0611e Fix CHECK.
GitOrigin-RevId: 376b93e35f13c5637762c03a5a50013c6d4febed
2019-01-13 22:28:25 +03:00
levlam
7cead9fc0f Add more logging.
GitOrigin-RevId: c943c0ee7ebbe7c3dc0b50b147226063e11c1e0a
2019-01-13 21:22:00 +03:00
levlam
e22e23a5ff Add source to on_get_user and on_get_chat.
GitOrigin-RevId: a3f187dc0d7d981df6ca3f2566f66678b4ad4774
2019-01-12 06:48:39 +03:00
levlam
f0dd4b1bad Unify handling of messages.Messages.
GitOrigin-RevId: ebce77b6e8417b0d011e6dd91087432de0a85524
2019-01-12 05:38:17 +03:00
levlam
91627605f6 Remove secret chat notification on chat opening.
GitOrigin-RevId: 4bd180b95b520bc1a9aca645d07580d5e3aa4228
2019-01-12 03:44:32 +03:00
levlam
14f5ce9a29 Delete reused notification groups from database and other fixes.
GitOrigin-RevId: d07e452682df5d781bd0bb992ef572c0c3990540
2019-01-12 03:40:06 +03:00
levlam
d375ff0f29 Fix file statistics after forwarding files to secret chat.
GitOrigin-RevId: 9ae1f492fe003da011622effadc143e9aad517e9
2019-01-11 20:54:27 +03:00
levlam
15dda847f4 Fix storage fast statistics after file checking.
GitOrigin-RevId: c912dc17c00ba61e1ad5b11bf6d411783fba58df
2019-01-11 20:08:56 +03:00
levlam
5ea6fda925 Better on_new_file.
GitOrigin-RevId: 0f102cc0c166bbde4b99e7c6735bd79b45f5748a
2019-01-11 05:45:03 +03:00
levlam
042c43ff46 Always send updateScopeNotificationSettings.
GitOrigin-RevId: 60d7e10e9b9e7d1f67f80cd7193ade42e52f3ef9
2019-01-11 03:30:55 +03:00
levlam
9b95544677 Always cancel file upload.
GitOrigin-RevId: d23729bde64972012a37a81620b1c4626648b342
2019-01-11 02:55:40 +03:00
levlam
a8b09b8cea Add more upload logging.
GitOrigin-RevId: 1201af06efe11275a3ab74c27ce5409577b753fc
2019-01-11 00:12:51 +03:00
levlam
f6f4f70290 Add remove_dialog_pinned_message_notification.
GitOrigin-RevId: 278ca1ea9914c9a71b3d6835fecd01fb36b536cb
2019-01-10 22:16:05 +03:00
levlam
68cc159a54 Fix updating user links.
GitOrigin-RevId: 9c4098524f6f3f817bae9d4eb33b244282dd378e
2019-01-10 22:02:45 +03:00
levlam
134785fc3d Preload pinned message.
GitOrigin-RevId: 9805a684ce0bfe5af26ac27c608748484c11d64d
2019-01-10 22:01:15 +03:00
levlam
3aa95a20ef Notification settings for mentions.
GitOrigin-RevId: 54afec57ab351bcce98b51f06c2dc2769bc25f0f
2019-01-10 20:54:46 +03:00
levlam
ed9e4baae8 Support per chat disable_pinned_message_notification setting.
GitOrigin-RevId: 775384f42d6f31ac983e40836a88b63c0eab1962
2019-01-10 03:47:33 +03:00
levlam
5b941456d2 Add td_api::getMessageLocally.
GitOrigin-RevId: 8b6dec4aadc0d9b1005444fe82a7db12cf1841a7
2019-01-09 05:57:43 +03:00
levlam
ef7914a26d Delay notifications in the open chat for 1 second.
GitOrigin-RevId: 9162b726f404b5116fd64a4894bb16a76e1c1aea
2019-01-09 05:13:03 +03:00
levlam
cccab2ba62 Better forward_info changes logging.
GitOrigin-RevId: 49ba4447cbe7998e7c275377e545c2fe7e54b92a
2019-01-08 22:48:43 +03:00
levlam
42d59ba6b3 Add additional delay for somw service message notifications.
GitOrigin-RevId: 181e4e4d8eab72b161ae9cc1ab5961f80a0b5d99
2019-01-08 21:24:06 +03:00
levlam
2dae55013c Fix documentation.
GitOrigin-RevId: a41ddbd90921efddbfe9b7f077eaf28903965e38
2019-01-08 06:10:16 +03:00
levlam
eeb2faede0 Fix pinned_message_notification_message_id after notification removal.
GitOrigin-RevId: 88cd26d1888a83c5d3448f9f2deeb92ed96140ec
2019-01-07 23:30:34 +03:00
levlam
8e402b8a48 Fail fast on photos bigger than 10 MB.
GitOrigin-RevId: 4f4cfd5415c3e9a851fd7d580ecfa11b3d7c6046
2019-01-07 20:41:05 +03:00
levlam
d61f44ac35 Fix comparisons with get_last_updated_group_key.
GitOrigin-RevId: 46d2d729616b3cd19b361f767a35df58229711bd
2019-01-07 20:26:47 +03:00
levlam
ccb2649306 Better removing of reply markup after bot has left.
GitOrigin-RevId: 11971b4485fc89fc663afaf5f30ef0f4a88e6d2e
2019-01-07 19:30:09 +03:00
levlam
b4c0d1b876 tg_cli: as_{basic_group,supergroup,secret_chat}_id.
GitOrigin-RevId: 747434e8cc75ec25dcdd461a574d55af6d0cf7c4
2019-01-07 18:37:53 +03:00
levlam
3c6008aa9c Fix call to on_update_secret_chat_state.
GitOrigin-RevId: 110b1b4fe066ae3cfa064baa9d861653cb284222
2019-01-07 18:08:01 +03:00
levlam
a6bb57d3dd Do not notifiations about messages from inactive basic groups.
GitOrigin-RevId: a930e5f235ecf133347705e50d6647615dded091
2019-01-07 17:54:45 +03:00
levlam
915b9c70a5 Fix loading last_notification_date from database.
GitOrigin-RevId: 6d1d268bee58a49179e4d02b178dd7c116a46556
2019-01-07 06:23:42 +03:00
levlam
cf8fada818 Try to always send updateNotificationGroup about an empty notification group.
GitOrigin-RevId: a6a2ec094ea0c238ba407eda5bcaf855a3c62ba2
2019-01-07 06:12:07 +03:00
levlam
226badc39e Fix Java and .NET documentation generators.
GitOrigin-RevId: 22fcce7801c8086b7f104976dfd1817651f8e163
2019-01-07 04:32:49 +03:00
levlam
a062fa4f0c Forward-declare SqliteConnectionSafe and SqliteDb. Finally, all DB usages are private.
GitOrigin-RevId: 63d904c6ba9e3896f46ce8844e328f77c7e50553
2019-01-07 03:17:11 +03:00
levlam
9bdc13e89f Forward declare Binlog in TdDb.
GitOrigin-RevId: 24ba74bc79bf1dc8fc35fceacd377809a3b4323b
2019-01-07 02:49:49 +03:00
levlam
424faa44f3 Use KeyValueSyncInterface and BinlogInterface in TdDb.
GitOrigin-RevId: 6e038ac9124855660da72fc64ec131a6e8211055
2019-01-07 02:44:29 +03:00
levlam
a2a7b44ad6 Use KeyValueSyncInterface in ConfigShared.
GitOrigin-RevId: 8670b43b1dc9d5619fee2081aa98ddc936820c64
2019-01-07 01:58:09 +03:00
levlam
aaae105785 Safer ConfigShared.
GitOrigin-RevId: 505e66d4341c29bbc0b8801073997fafd8ddf820
2019-01-07 01:20:38 +03:00
levlam
8e822fd44f Minor interface change.
GitOrigin-RevId: 1ab4e9a57714911fa6f88440b7ded136e6eea83f
2019-01-07 00:06:52 +03:00
levlam
705a57ba76 Do not include FileDb.h in FileManager.h.
GitOrigin-RevId: 5cba51fa56f7087ae818393b05c423ec9e5a8aec
2019-01-06 23:47:40 +03:00
levlam
60e4d27011 Add strongly typed FileDbId.
GitOrigin-RevId: 234c9ec0ecda3f2ba48e0fd00fa06a8ec0188ca4
2019-01-06 23:39:10 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
ea06aa19d6 Forward-declare BinlogEvent.
GitOrigin-RevId: 4ea183c04ec8e5ffd0c2851db399b2a2155557ea
2019-01-06 22:11:02 +03:00
levlam
c8f3573ca5 Do not try to attach stickers not from sticker sets.
GitOrigin-RevId: e5ae71d7e47ab5e055ecdafd22a0cbe77c19ab71
2019-01-06 21:26:19 +03:00
levlam
0403c58c73 Minor.
GitOrigin-RevId: 2d1cd971e34a79011c6e658657f7a7b1329195ca
2019-01-06 06:16:29 +03:00