Commit Graph

224 Commits

Author SHA1 Message Date
John Preston 6805259f74 Don't recompress some JPEGs when sending as photos.
If JPEG is saved in progressive mode and has bpp <= 4
and max(width, height) <= 1280 then we send original bytes.
2022-03-09 17:37:51 +04:00
23rd f74a75da75 Fixed display photo with modifications as file in attach media preview. 2022-03-04 18:58:07 +03:00
John Preston 1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
23rd b46adec413 Added initial controller of message sending animations. 2022-02-25 19:41:15 +03:00
John Preston e8a7e86f41 Update menu icons. 2022-02-25 14:14:43 +03:00
23rd 641bb01ba2 Added ability to set forward options from ShareBox. 2022-02-04 22:20:17 +03:00
John Preston b415b293cf Fix crash from background access to style::icon-s. 2022-02-01 16:51:51 +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 8e749173de Render webm stickers in StickersListWidget. 2022-01-28 19:10:07 +03:00
John Preston 20dbf18106 Init webm player for sticker set thumbnails. 2022-01-28 19:10:07 +03:00
John Preston 8b7d2c880e Support rendering Webm videos with alpha. 2022-01-28 19:10:07 +03:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston c8f7a8c795 Add a tab with "Who Seen" to "Who Reacted" box. 2022-01-18 21:44:59 +03:00
John Preston f3e84de5fb Implement recent reaction userpics in groups. 2022-01-14 21:55:48 +03:00
John Preston 2dec1b72f7 Rename reactionBottom* to reactionInline* styles. 2022-01-14 21:55:48 +03:00
John Preston 3d8b303ab7 Implement parabolic reaction drop. 2022-01-14 21:55:48 +03:00
John Preston 34c36d77c3 Paint reaction animations above everything. 2022-01-14 21:55:47 +03:00
John Preston 3b4ed03105 Image coords should be multiply devicePixelRatio.
I hope this fixes #17277.
2022-01-14 21:55:47 +03:00
John Preston a377364621 Use correct sizes for lottie frames. 2022-01-14 21:55:47 +03:00
John Preston cfc2a959cf Implement nice dropdown collapse animation. 2022-01-14 21:55:47 +03:00
John Preston a51be85199 Improve button and dropdown layout. 2022-01-14 21:55:47 +03:00
John Preston 508ba4750c Show appear animations in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston bb3c91aa44 Scale reaction images explicitly.
Fixes #17459.
2021-12-31 00:28:44 +03:00
John Preston e722645e7c Try to show the reaction button outside of the bubble. 2021-12-30 23:38:06 +03:00
John Preston 1ab0f840f3 Use reactions icon in context menu if more than 1 reaction type. 2021-12-30 16:08:15 +03:00
John Preston c875f367e6 Add a semi-nice looking box with reactions overview. 2021-12-29 21:22:34 +03:00
John Preston c6811640b5 Show box with reacted users. 2021-12-29 21:22:34 +03:00
John Preston 58c9494c03 Add reactions to replies / comments / pinned section. 2021-12-29 21:22:34 +03:00
John Preston 38c296b69f Remove test image-patterned message backgrounds. 2021-12-29 21:22:33 +03:00
John Preston a7c93a9421 Support patterned reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston 95e003153a Implement inline reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston b396d6e836 Start from-reaction-button dropdown. 2021-12-29 21:22:33 +03:00
23rd 52699ccfc2 Added new colors to text palette for spoilers. 2021-12-29 21:22:33 +03:00
John Preston a550b73e2c Move "who read" context menu item to the bottom. 2021-12-29 21:22:33 +03:00
John Preston 4050866b3b Nice reactions design in private chats. 2021-12-29 21:22:33 +03:00
John Preston 2a3cf8ac58 Implement (sub-optimal) painting of reactions in groups. 2021-12-29 21:22:33 +03:00
John Preston 371c9c1bfe Implement a nice corner reaction button. 2021-12-29 21:22:33 +03:00
John Preston e148b5ff08 Proof-of-concept reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston b773bb6e70 Add icons to the media viewer menus. 2021-12-29 21:22:33 +03:00
John Preston 2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston 3a43217301 Show reactions in messages. 2021-12-29 21:22:32 +03:00
John Preston f5c7b206bb Track message reactions. 2021-12-29 21:22:32 +03:00
John Preston 886ff7de50 Fix different colors in active emoji icon. 2021-11-26 18:00:22 +04:00
John Preston 8d66680a96 Show info about request chat admin incoming message. 2021-11-26 18:00:20 +04:00
John Preston fe025e3c44 Move Send As phrases to the langpack. 2021-11-26 18:00:19 +04:00
John Preston 8c824edaa5 Choose send as in scheduled / discussions. 2021-11-26 18:00:19 +04:00
John Preston ad52c0cb16 Single-click change Send As. 2021-11-26 18:00:18 +04:00
John Preston 773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston 1bd74fe478 Choose a channel to send messages as. 2021-11-26 18:00:18 +04:00