Commit Graph

297 Commits

Author SHA1 Message Date
John Preston ffb024a5f7 Move Ui::Text::String to HistoryView::Element. 2022-09-22 11:07:48 +04:00
John Preston 40bdcd7ebc Short poll extended media. 2022-09-12 18:18:31 +04:00
John Preston 8a6b3027f5 Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
John Preston 60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston 57b0ec0d7e Fix forwarded message with custom emoji preview. 2022-08-04 20:41:45 +03:00
John Preston 7a88f9434e Support OnlyCustomEmoji unwrapped messages. 2022-08-03 20:43:26 +03:00
John Preston edfb7bb65a Support custom emoji in IsolatedEmoji. 2022-07-26 20:12:14 +03:00
John Preston be36f07168 Fix custom emoji in service messages. 2022-07-26 20:12:08 +03:00
John Preston c796dd142b Optimize many animated emoji repaint requests. 2022-07-26 20:12:08 +03:00
John Preston e89c95551f Show correct downloads elements context menu. 2022-02-27 20:26:52 +03:00
John Preston daadf7e2a1 Allow goToMessageClickHandler to switch accounts. 2022-02-27 20:26:52 +03:00
John Preston 91c46dbc85 Allow Info::Media::ListWidget use different data providers. 2022-02-25 19:41:15 +03:00
John Preston 7228752a01 Check only for existing unread reactions. 2022-02-10 14:09:22 +03:00
John Preston b7a70a2f28 Improve unread reactions list consistency. 2022-01-31 23:16:56 +03:00
John Preston 63bf564757 Reaction notifications only from non-blocked contacts. 2022-01-31 16:18:40 +03:00
John Preston 07beb3e86b Correctly clear unread reactions. 2022-01-31 11:19:46 +03:00
John Preston 1dd7cc956b Show reaction notifications in groups. 2022-01-28 19:10:07 +03:00
John Preston 4f1e04cf9e Animate reactions when reading. 2022-01-28 19:10:07 +03:00
John Preston e509da8fd8 Instantly mark as read visible new reactions. 2022-01-28 19:10:07 +03:00
John Preston 15719b73b4 Fix updating unread message reactions. 2022-01-28 19:10:07 +03:00
John Preston a5afeebc0c Show reaction notification by unread status. 2022-01-28 19:10:07 +03:00
John Preston 9903266722 Index new unread reactions in history. 2022-01-28 19:10:07 +03:00
John Preston 8f33d5903d Display unread reactions badge in chats list. 2022-01-28 19:10:07 +03:00
John Preston e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston 581b84afe0 Update API scheme on layer 138. 2022-01-28 19:10:07 +03:00
John Preston 4996d90782 Fix first my reaction userpic in groups. 2022-01-17 21:29:28 +03:00
John Preston df044dbd83 Show local notifications about contact reactions. 2022-01-14 21:55:48 +03:00
John Preston f3e84de5fb Implement recent reaction userpics in groups. 2022-01-14 21:55:48 +03:00
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
John Preston 9df229a230 Add pinned message icon.
Regression was introduced in 1af2cfe143.

Fixes #17489.
2022-01-03 18:15:36 +03:00
John Preston 611be90880 Rewrite sponsored to use fake sender names. 2021-12-31 16:07:36 +03:00
John Preston 4cbfcc8dbc Disable reaction button on Call messages. 2021-12-30 14:33:11 +03:00
John Preston a8bc7baa70 Update all messages in case of chat reactions toggle. 2021-12-29 21:22:34 +03:00
John Preston ec16ca7df7 Poll reactions for visible messages. 2021-12-29 21:22:34 +03:00
John Preston aafc24008b Apply reactions from message edit updates. 2021-12-29 21:22:34 +03:00
23rd c40bcdc446 Added utility to correctly cut text with commands. 2021-12-29 21:22:34 +03:00
John Preston 4228557722 Improve reactions position and colors. 2021-12-29 21:22:33 +03:00
23rd 1cca4d71bd Provided spoiler info to preview text. 2021-12-29 21:22:33 +03:00
23rd a027a02130 Provided spoiler info to notification text. 2021-12-29 21:22:33 +03:00
23rd f2c7237d5f Moved item preview structs to separated file. 2021-12-29 21:22:33 +03:00
John Preston fe468ce7e9 Respect can_see_list flag in reactions. 2021-12-29 21:22:33 +03:00
John Preston 2991c3c17f Toggle reactions from the list under the message. 2021-12-29 21:22:33 +03:00
John Preston b1668afdf1 Use available reactions list from the server. 2021-12-29 21:22:33 +03:00
John Preston b5d80a3c15 Improve BottomInfo layout. 2021-12-29 21:22:33 +03:00
John Preston 1af2cfe143 Extract BottomInfo from HistoryView::Message. 2021-12-29 21:22:33 +03:00
John Preston f5c7b206bb Track message reactions. 2021-12-29 21:22:32 +03:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston 03775e0cc5 Allow to ban channels in groups from moderate actions. 2021-11-29 15:24:30 +04:00
John Preston 0f443da758 Track noforwards flag in specific messages. 2021-11-26 18:00:22 +04:00
John Preston d1b9785d31 Allow deleting all from a channel to a group. 2021-11-26 18:00:20 +04:00