Commit Graph

21 Commits

Author SHA1 Message Date
levlam
f15093deb3 Ignore MessageReplyInfo with channel_id == 777. 2021-09-24 12:31:27 +03:00
levlam
520f55d31f Remove expected error logging. 2021-01-18 12:58:16 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
ca3315ba06 Add MessagesManager::update_reply_count_by_message and update reply_count on message deletion.
GitOrigin-RevId: 2746c056ae021053587c8b16b50a92ed126f89da
2020-10-31 13:55:53 +03:00
levlam
30c17d200b Use MessageSender to represent recent repliers.
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
2020-10-18 00:07:39 +03:00
levlam
e5e9eb3838 Add MessageReplyInfo::get_message_reply_info_object.
GitOrigin-RevId: 8d46914fd096afca99942bec63f2c6f65f9cbb9e
2020-10-08 21:17:24 +03:00
levlam
ca1594c8ec Update reply info if linked_channel_id is changed.
GitOrigin-RevId: 629721095881d2c9a401519d26f75bbbba4446f9
2020-10-01 22:28:54 +03:00
levlam
dd75a08e65 Add comment, why reply_info never dropped.
GitOrigin-RevId: 568023da3a41415bf48c7230cd32cb5b46b86cf8
2020-09-30 15:47:42 +03:00
levlam
90ee4bd63c Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
2020-09-24 19:15:42 +03:00
levlam
3b97a0944d Ensure that MessageReplyInfo.max_message_id is at least as last_read_message_id.
GitOrigin-RevId: 7c1f38f06e1fe1f687f923387c7baa9b2f5ac7ef
2020-09-21 16:37:07 +03:00
levlam
dad48976b5 Add unread status in message threads.
GitOrigin-RevId: ed0fb2fc705b9539001b365fd5aa07d762d9a382
2020-09-19 22:01:28 +03:00
levlam
b45ccc6d14 Update layer 119.
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
2020-09-18 18:32:59 +03:00
levlam
7e6cb9a8e4 Handle updateReadDiscussion.
GitOrigin-RevId: 2cb783768934ee67bad98511edfc061ae6aa879b
2020-09-16 16:41:08 +03:00
levlam
b5fc3012b3 Add max_message_id and max_read_message_id to MessageReplyInfo.
GitOrigin-RevId: f58dafcd0abd825019010b88f3e9d2835ad69311
2020-09-15 19:45:45 +03:00
levlam
cd6cfc52ac Add td_api::getDiscussionMessage.
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
2020-09-15 17:07:34 +03:00
levlam
7842beed95 Exit early some functions for bots.
GitOrigin-RevId: b155610c1c61846d1c113b07cce4403333fa952e
2020-09-12 17:10:06 +03:00
levlam
db5adecbda Update reply count on new message receiving.
GitOrigin-RevId: ba0831b13ee0ee816fee8a4cd8bd2878803e1453
2020-09-11 20:12:31 +03:00
levlam
4d47247fc1 Support chats as recent repliers.
GitOrigin-RevId: 6da36600e99c655f4484f09fc787382481a3148b
2020-09-09 02:32:07 +03:00
levlam
f05b8cec61 Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
2020-09-08 22:08:10 +03:00
levlam
3aee352751 Add MessageReplyInfo.{cpp,h}.
GitOrigin-RevId: 0f5b18fdbaac549d4c5a963b067056824d373c4e
2020-09-07 14:07:40 +03:00