Commit Graph

887 Commits

Author SHA1 Message Date
John Preston 881867186a Load more saved / archive in the viewer. 2023-07-20 07:20:11 +04:00
John Preston 10d64d6bdf Send story reactions as single-emoji messages. 2023-07-20 07:20:11 +04:00
John Preston 04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston 2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston 00b4f77384 Finish theming for voice recording in stories. 2023-07-20 07:20:08 +04:00
John Preston a02876562a Finish improved stories reply area theming. 2023-07-20 07:20:08 +04:00
John Preston 75d2b5994f Apply dark theme to reply controls in stories. 2023-07-20 07:20:08 +04:00
John Preston 8a99de16f6 Allow editing messages even if sending is not allowed. 2023-05-24 18:48:48 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston 3a8237f03a Fix staying _replaceMedia button after media edit. 2023-04-23 19:23:41 +04:00
John Preston e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
John Preston b782569faf Handle escape before messages are loaded.
Fixes #4111.
2023-04-21 14:38:21 +04:00
John Preston 352ae5100a Support chat wallpaper set from gallery. 2023-04-18 16:47:31 +04:00
John Preston ad3ec244e9 Fix pasting file for media replacement. 2023-04-11 20:06:38 +04:00
John Preston 42c96b4c7f Edit media captions in message field. 2023-04-11 19:17:42 +04:00
John Preston d01c026521 Don't reply while asked to join the group. 2023-03-17 18:34:48 +04:00
John Preston fadd19bca4 Beta version 4.6.9: Fix critical loading bug.
Regression was introduced in ec6dda47ae.

The HistoryWidget was infinitely trying to load history down even
when there was nothing to load and kept flooding with requests.
2023-03-10 12:02:14 +04:00
John Preston ff4af1b9bc Fix pasting images from Firefox on Windows.
Fixes #10564.

Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.

Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.
2023-03-08 16:10:36 +04:00
23rd ec6dda47ae Fixed injecting of sponsored messages at first load of history messages. 2023-03-07 08:42:29 +03:00
John Preston 4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston 8dcb69ccdd Fix switch-inline bot buttons in topics. 2023-03-01 14:49:35 +04:00
John Preston 2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
John Preston 3573b84e8b Fix drag area in comments appearance. 2023-02-15 10:02:14 +04:00
John Preston 6834cdb969 Check restrictions in attach menu bots. 2023-02-09 13:15:45 +04:00
John Preston ee1162faff Version 4.6.2: Fix ghost drafts appearing in channels. 2023-02-08 15:48:05 +04:00
John Preston fb283c4828 Fix bot buttons disappearing on chat switch. 2023-02-06 09:12:06 +04:00
John Preston 6f797a17ad Fix activating chat list entry from global search. 2023-02-04 21:19:46 +04:00
John Preston b9188f892f Version 4.6.
- Emoji Profile Pictures.
Quickly create group and profile pictures from animated emoji
and stickers with the new "Use an Emoji" option.
- Emoji Categories.
Filter stickers and emoji by categories like "love", "cheers"
or "sleeping" in the sticker and emoji tabs.
- Chat Translation.
As a Premium user, translate entire chats in real time
as you scroll them or receive new messages.
- Media Permissions in Groups.
Control whether members of your groups can send
9 distinct media types – like Photos, Voice or Video Messages.
- Select Chats for Bots.
Bot developers can now let users quickly select groups,
channels or contacts that meet predefined criteria (more in @BotNews).
- Open in New Window.
Open chats or additional accounts in separate windows.
2023-02-03 22:13:26 +04:00
John Preston ebfddc1a68 Fix return to saved history state with translate bar. 2023-02-02 22:12:33 +04:00
John Preston 6957376a21 Improve translation bar styles. 2023-02-02 22:12:33 +04:00
John Preston 9344e78889 Fix translation of the pinned message. 2023-02-02 22:12:33 +04:00
John Preston 2886ae6909 Block field with toast if texts are not allowed. 2023-02-02 22:12:33 +04:00
John Preston 19f346e658 Fix translate bar show after slide animation. 2023-02-02 22:12:33 +04:00
John Preston f5be551ff8 Add translation bar dropdown menu. 2023-02-02 22:12:32 +04:00
John Preston dc464b2718 Translate pinned message as well. 2023-02-02 22:12:32 +04:00
John Preston 719466fcac Initial chat-translation feature implementation. 2023-02-02 22:12:32 +04:00
John Preston 554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston fcfacf1f9d Fix scroll in return to a channel I'm not in. 2023-01-21 21:24:54 +04:00
John Preston 6e5dfc79d4 Fix mouse BackButton with more than one window.
Fixes #24704.
2023-01-19 09:46:20 +04:00
John Preston f8e76f1b84 Single entry point to search in chat. 2023-01-19 09:46:19 +04:00
John Preston 2c75fe033c Fix inline GIFs play start in separate windows.
Fixes #25694.
2023-01-19 09:46:19 +04:00
John Preston ba520aadcb Fix hashtags in separate windows. 2023-01-19 09:46:19 +04:00
John Preston 7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston b1d1d73541 Copy/Paste original JPEG bytes to clipboard. 2023-01-13 12:46:17 +04:00
John Preston 1592f70a7c Respect trackUnreadMessages in history jumps.
Fixes #25384.
2023-01-12 12:23:29 +04:00
John Preston f9ca7f4505 Beta version 4.5.4: Fix "Mark-as-read-inactive setting." 2023-01-10 16:24:27 +04:00
John Preston 3c17fab15a Beta version 4.5.4: Mark-as-read-inactive setting.
In case an experimental setting of auto-scrolling is enabled,
just ignore the window activity check in marking chat as read..
2023-01-10 15:31:15 +04:00
John Preston 1fc929b78f Add some logs for jump-to-end bugs.
This is related to #25384.
2023-01-09 13:25:15 +04:00
John Preston d496d41e7e Version 4.5.1: Fix excessive flood_wait trigger.
Regression was introduced in 1e8dfb7315.

Fixes #25494.
2023-01-02 17:33:39 +04:00
John Preston b6ade7ce19 Fix spoiler / custom emoji in pinned bar unpause. 2022-12-30 14:27:00 +04:00