Commit Graph

454 Commits

Author SHA1 Message Date
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
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
f6f4f70290 Add remove_dialog_pinned_message_notification.
GitOrigin-RevId: 278ca1ea9914c9a71b3d6835fecd01fb36b536cb
2019-01-10 22:16:05 +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
eeb2faede0 Fix pinned_message_notification_message_id after notification removal.
GitOrigin-RevId: 88cd26d1888a83c5d3448f9f2deeb92ed96140ec
2019-01-07 23:30:34 +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
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
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
027c1eafc4 Properly init MessagesManager.
GitOrigin-RevId: 10bd6a41a479389afdbf6d621025bba766f8e850
2019-01-06 01:25:09 +03:00
levlam
9cb950bc05 Update layer 85. Support hide_via_bot.
GitOrigin-RevId: 94fb988d50640f68019007249b8e4860ccea89af
2019-01-03 00:05:47 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
05a99dedb1 Improve updateMessageId handling.
GitOrigin-RevId: 6eb271f26f3bfda0544bb887e8b763f3b5b4b452
2019-12-30 02:56:52 +03:00
levlam
ea3c65b3aa Add disable_pinned_message_notifications option.
GitOrigin-RevId: 42c12c98abf2bbfa6c41e67f8b5b0c2f9a3536e9
2019-12-30 00:35:19 +03:00
levlam
5c2c8a1844 Trying to get missing sent messages from server.
GitOrigin-RevId: 64ab8c7b8302024e0230977e624711f88c21ab4f
2018-12-27 05:06:26 +03:00
levlam
36419ed6c6 Better dialog pos after loading it from database.
GitOrigin-RevId: 475baad7205fb1843840fb22cb1349a7a4f68ac6
2018-12-26 23:40:52 +03:00
levlam
ac3fa705a2 File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
2018-12-26 19:11:15 +03:00
Arseny Smirnov
3b238f6fba Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
2018-11-11 15:38:04 +04:00
levlam
4ec320cd0a Better MessageUnsupported support.
GitOrigin-RevId: 7b2b83c83e8b602dfd371fb5c9c598b3a5c31839
2018-12-25 20:47:37 +03:00
levlam
480772c4cf Fix mention notification count if needed.
GitOrigin-RevId: 51fbe5034bb060c09d903b56908aade48a05962d
2018-12-25 18:04:29 +03:00
levlam
33de10f288 Add CHECK for correct init order.
GitOrigin-RevId: 488c507c51f42c9e40a09e553134c96aa5b794b5
2018-12-25 06:07:29 +03:00
levlam
1d55e08fe4 Pinned message notification support.
GitOrigin-RevId: f0a435fd3bb55daff2dee438c939b39f8b89f331
2018-12-25 05:45:36 +03:00
levlam
c60ce3a434 Cache dialog_type.
GitOrigin-RevId: b2d2ee6c09e46edfd35a7e239d528c6e81a8b471
2018-12-24 23:24:44 +03:00
levlam
24700e3d98 Remove notifications from left sponsored chat.
GitOrigin-RevId: 974847b0e26ab42d44c4d78431e8f39a35a8bbfa
2018-12-24 22:51:37 +03:00
levlam
c4903da286 Better handling of notification_id overflow.
GitOrigin-RevId: 3992facb365b43874420d2cdc2b966286ba59cf3
2018-12-24 22:45:42 +03:00
levlam
531bf775a3 Better logging.
GitOrigin-RevId: 7c0b4ffb6b3bb83396b8de1613d5c8af652d0e97
2018-12-24 17:28:50 +03:00
levlam
a05c43ceeb Add NotificationGroupType.
GitOrigin-RevId: 328adc5df3cbe278008c11d5a35da93da88b7d41
2018-12-24 00:34:40 +03:00
levlam
36ab6b3cca Implement separate mention notification group.
GitOrigin-RevId: 036eed8c87e5f60da0c24cd02df11cd48f977019
2018-12-22 23:24:18 +03:00
levlam
e586b31a87 Add support for notifications about new calls.
GitOrigin-RevId: fc4f9c1a484832241f2059a1ec58af6e5abcb198
2018-12-18 23:59:35 +03:00
levlam
f073317738 Add more debug.
GitOrigin-RevId: 0342d01ee7fb111b08fb7e38a4316d4bcc1261ef
2018-12-18 13:51:23 +03:00
levlam
a853f82e94 Add debug.
GitOrigin-RevId: d98662b93489740a3b400415d1c28ccab88ad33e
2018-12-18 12:47:16 +03:00
levlam
a78b5c04a2 Repair message_id correspondences in on_get_message_from_database.
GitOrigin-RevId: 71d4f6a83cb29e5c1933c0bef7ae1274deea7076
2018-12-18 11:03:43 +03:00
levlam
d95c39059a Fix unneeded stores of chats to database just after load from database,
GitOrigin-RevId: 36cc8b2b55331286771e86165ccf4cc6dbf39d3a
2018-12-15 20:43:20 +03:00
levlam
aa1727f638 Load only specified number of chats from database.
GitOrigin-RevId: 5b2581b7313064dfea2f2c756c2cffb1af7ee00f
2018-12-15 19:27:06 +03:00
levlam
79fb7c592e Move get_input_message_content to MessageContent.cpp.
GitOrigin-RevId: 2aba804b4a8dbda0a88fe6890ad730fafa896df4
2018-12-12 17:36:31 +03:00
levlam
00c10535a2 Add extract_input_caption method.
GitOrigin-RevId: d49433b0d7d9313bf8f4814c90f28717678b8444
2018-12-12 17:05:32 +03:00
levlam
4f7a52fbb1 Move process_input_caption to MessageEntity.h.
GitOrigin-RevId: 6b5b39d2d82fefbfb6c23df977644c39549ead2e
2018-12-12 16:35:59 +03:00
levlam
f1c0ee7134 Add self-standing add_sticker_set.
GitOrigin-RevId: a6bf3d0e63601307f79e6acce8fd501f2081704b
2018-12-12 16:11:49 +03:00