Commit graph

135 commits

Author SHA1 Message Date
fa4931a0e0 Updated TDesktop sources to 3.1 2021-09-20 04:56:43 +03:00
3f08b7ec96 Updated TDesktop sources to 3.0.1 2021-09-17 17:28:15 +03:00
3f4f5f78b8 Updated TDesktop sources to 2.9.3 2021-09-16 15:20:02 +03:00
John Preston
8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
23rd
c1d3e5f0c5 Removed sending of typing action when sticker is chose in autocomplete. 2021-09-07 23:41:07 +03:00
23rd
59977da2b4 Added choosing sticker action to field autocomplete. 2021-09-01 01:23:20 +03:00
23rd
8c17e3e578 Added sending action when choosing sticker. 2021-08-30 20:50:32 +03:00
John Preston
85e4c8527b Always write local drafts the same way. 2021-08-30 20:32:58 +03:00
59a7ae5b11 Fix "edit by Up" option in comments and scheduled messages 2021-08-27 01:09:31 +03:00
23rd
3a92a181a1 Fixed editing on Up arrow in sections with non-empty input field. 2021-08-23 13:57:35 +03:00
34cf89ec59 Localize self-destruct messages button to Russian 2021-08-15 13:00:49 +03:00
John Preston
d30f7a8221 Add support for 1 month self-destruct messages. 2021-08-15 13:00:49 +03:00
23rd
221ded6d54 Fixed handle of last message on Up arrow in sections on macOS. 2021-08-10 15:46:18 +03:00
10d0710637 Fix hiding emoji panel with hover disabled 2021-08-04 02:25:36 +03:00
John Preston
b2e829904f Add support for 1 month self-destruct messages. 2021-07-30 16:05:13 +03:00
3cf6384bed Updated TDesktop sources to 2.8.11+2de0b79 2021-07-20 14:28:36 +03:00
23rd
2de0b79b4e Fixed overlapping emoji suggestions in Replies section. 2021-07-20 12:20:31 +03:00
f28b9ccf0c Updated TDesktop sources to 2.8.8 2021-07-16 03:03:15 +03:00
Ilya Fedin
79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston
2ffda9f240 Don't use MTP* for ChatAdminRight / ChatRestriction. 2021-07-08 13:34:06 +03:00
John Preston
b930bc0e6d Track bot commands separately in different chats. 2021-07-02 20:41:48 +03:00
John Preston
4124c2eb57 Show inline path thumbnails for stickers. 2021-07-02 13:13:48 +03:00
230919a873 Updated TDesktop sources to 2.7.10+5519bb35 2021-06-27 03:56:31 +03:00
23rd
7885be4a94 Added ability to show content from Controller for inline results. 2021-06-17 10:57:45 +04:00
23rd
b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
23rd
7cf79e1f8a Removed Adaptive namespace from sections. 2021-06-16 09:31:32 +03:00
23rd
2599ae45d6 Fixed handle of last message on Up arrow in sections with key modifiers. 2021-05-30 23:39:55 +03:00
b4625cadc2 Updated TDesktop sources to 2.7.2 2021-04-27 23:44:15 +03:00
1d1676de2e Fix crash on right clicking emoji button with third column 2021-04-26 23:00:28 +03:00
Loïc Molinari
336405b3c7 Fix voice record button infinite animation
Enabling animations triggers an animation of the voice record button
that keeps firing uselessly at ~120 calls per second until the button
is manually toggled. The animation callback cannot stop itself since
it expects the button to be visible.

This commit fixes the issue by preventing spawning the animation if
the widget is hidden.
2021-04-15 16:22:29 +03:00
1927ab7955 Updated TDesktop sources to 2.7.1+c08a148 2021-03-28 16:07:58 +03:00
Ilya Fedin
ae0b9141dd Trying to get rid of unused variables... 2021-03-15 11:40:44 +03:00
John Preston
68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
8d9e17482c Updated TDesktop sources to 2.6 2021-02-27 19:54:04 +03:00
John Preston
5b6503bfed Fix auto-delete button when switching between chats. 2021-02-22 23:42:42 +04:00
John Preston
781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston
15e03687f8 Add auto-delete period edit box. 2021-02-22 23:42:41 +04:00
John Preston
dd2dcd7fd9 Update icons in the compose controls. 2021-02-22 23:42:41 +04:00
John Preston
f97064ed37 Add auto-delete control to compose controls. 2021-02-22 23:42:41 +04:00
23rd
bff3291631 Fixed clearing of text field in sections when sending files. 2021-02-12 13:05:50 +03:00
23rd
90f90a4ca3 Fixed accepting of Enter key in box of voice message discarding. 2021-02-09 19:26:56 +04:00
23rd
0cb8f2cc85 Added ability to toggle silent broadcast from sections.
Fixed #8655.
2021-02-04 18:13:03 +04:00
23rd
f1236edf5b Added ability to select message for reply with Ctrl+Up/Down in sections. 2021-02-04 18:13:03 +04:00
23rd
0b98cfbfec Added ability to attach file with shortcut in sections. 2021-02-04 18:13:03 +04:00
23rd
062c451c27 Refactored handle of last editable message on Up arrow in sections. 2021-02-04 18:13:03 +04:00
23rd
b13e5ddce9 Moved scroll keys from sections to compose controls. 2021-02-04 18:13:03 +04:00
23rd
4ad0837661 Fixed ability to attach file while editing message in sections. 2021-02-04 18:13:03 +04:00
John Preston
8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
John Preston
dd401a063b Set preview as cancelled if no preview in editing message. 2021-01-27 20:26:27 +04:00
23rd
d4bbbdb65c Replaced rand_value util function with openssl::RandomValue. 2021-01-24 10:41:10 +03:00