Commit Graph

153 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 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd 3602155f68 Fixed display of gift service actions for gift senders. 2022-07-27 12:49:52 +03:00
23rd e84f5aaa3d Added support of service actions for premium gifts. 2022-07-26 20:12:11 +03:00
John Preston be36f07168 Fix custom emoji in service messages. 2022-07-26 20:12:08 +03:00
John Preston 00d1828fbe Update API scheme on layer 144. 2022-07-26 20:12:08 +03:00
John Preston 0e771312f4 Edit Chat Theme / Auto Delete on service message click. 2022-06-22 18:48:57 +04:00
John Preston 092474fdb9 Support recurring payment phrases. 2022-06-02 21:10:43 +04:00
John Preston 201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston 87662de2a6 Support web_app_open_tg_link / web_app_open_invoice. 2022-05-19 17:27:03 +04:00
23rd d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
John Preston 1c1e67abe3 Fix build with Xcode. 2022-03-30 12:23:06 +04:00
John Preston df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
23rd a3d00b1953 Replaced args for Calls::Instance::startOrJoinGroupCall with struct. 2022-02-28 08:04:46 +03:00
John Preston b4a49de819 Fix possible incorrect links in service messages. 2022-02-10 19:11:21 +03:00
23rd 20c911651f Replaced universal initializers with constructors in Ui::Text::Link. 2022-02-06 18:29:38 +03:00
23rd 1e4d278604 Fixed formatting text of pinned messages in service messages. 2022-02-05 18:39:43 +03:00
23rd 80aa596310 Fixed possible incorrect order of links in Ui. 2022-02-05 18:39:43 +03:00
John Preston acfdae2d72 Beta version 3.4.4: Fix build with GCC. 2022-01-14 22:57:13 +03:00
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
John Preston 9f887237eb Remove a couple of unused lang keys. 2022-01-04 11:15:09 +03:00
23rd 3aacae2cb2 Added behavior to hide spoilers when switching sections. 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
23rd 8b74dc2dec Added spoiler support to service messages. 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 3a43217301 Show reactions in messages. 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 6eaeb306d6 Add a RequestDependentMessageData method. 2021-11-08 12:37:02 +04:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston 2ade6be146 Show correct phrase in local join messages. 2021-10-29 18:31:06 +04:00
John Preston 185523f66f Update API scheme to layer 134. 2021-10-29 18:31:06 +04:00
23rd 70e9b4a332 Moved type of call id to alias. 2021-10-29 16:10:07 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
John Preston 792b9090a7 Generate mini-previews for photos and files. 2021-10-04 23:45:21 +04:00
John Preston 8c21fad642 Move preview paint to Dialogs::Ui::MessageView. 2021-10-04 23:45:21 +04:00
John Preston ead695b101 Don't pass wide fake MsgId through MTPMessage. 2021-09-30 15:30:39 +04:00
John Preston 2f5bed2899 Skip "contact joined" toast if disabled in Settings.
The chats still appear (they are server-side), but skip the toast.
2021-09-23 17:37:29 +04:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston 70808dfa7d Show chat theme changing service messages. 2021-08-30 20:32:57 +03:00
John Preston 0cfede984c Update API scheme to layer 132. 2021-08-30 20:32:56 +03:00
John Preston b2e829904f Add support for 1 month self-destruct messages. 2021-07-30 16:05:13 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
23rd a14f2144e1 Removed layout.cpp/h. 2021-07-26 17:38:51 +03:00
John Preston a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00
John Preston 5040c2e766 Don't use MTP* for ChatData flags. 2021-07-08 15:11:46 +03:00
John Preston 4fae827f1e Use a separate string for voice chat ending in groups. 2021-05-03 13:23:28 +04:00
John Preston ae74c8a6b8 Show voice chat start time in service message. 2021-04-12 10:48:16 +04:00