Compare commits

...

663 Commits

Author SHA1 Message Date
John Preston
d51195a537 Version 6.2.
- Comments and reactions in group calls.
- Notes for contacts.
- Suggested birthdays.
- Threads for AI bots.
- Reorder gifts collections and stories albums.
- Reorder gifts inside collections.
- Apply tags instantly when forwarding to Saved Messages.
- Choose which screen to show notifications on.
- Nice text message sending animation.
2025-10-10 20:40:33 +04:00
23rd
10bedad9bf Fixed title phrase in credits settings.
Fixed #29831.
2025-10-10 16:42:54 +03:00
23rd
4027d3c07f Replaced easeOutCirc with easeOutQuint for message revealing animation. 2025-10-10 16:21:58 +03:00
23rd
ec78d3b83b Added processing of recent self forwards to share box. 2025-10-10 11:29:09 +03:00
23rd
acf61c24bd Moved out api processing of recent self forwards to single place. 2025-10-10 11:29:09 +03:00
23rd
338183e647 Added toast after successfully tagging of recent forwards to self. 2025-10-10 11:29:09 +03:00
23rd
59e0de85e3 Added label for test dc to intro widget. 2025-10-10 11:29:09 +03:00
23rd
2e6941c23f Improved ability to edit caption of latest uploading media with Up. 2025-10-10 11:29:03 +03:00
23rd
e1c33aa87b Extracted default paint callback for VerticalDrumPicker to single place. 2025-10-10 11:28:42 +03:00
23rd
70d8cede9b Added month and year picker to calendar box by clicking on title. 2025-10-10 11:28:42 +03:00
23rd
7587bbd4bc Disabled mouse tracking after chosen emoji in tagger instantly. 2025-10-10 11:28:20 +03:00
23rd
668f0498ed Removed sending animation for texts that don't fit into input field. 2025-10-10 11:28:17 +03:00
23rd
32ff331744 Removed simple sending animation for emoji-only messages. 2025-10-10 11:28:13 +03:00
23rd
bc90463893 Removed unused variable in macOS file utilities to fix compiler warning. 2025-10-10 11:26:45 +03:00
23rd
7fb486d8d2 Removed unused variable from touchbar item on macOS. 2025-10-10 11:26:42 +03:00
23rd
538df0e67c Added simple sending animation for text messages to chat section. 2025-10-10 11:24:15 +03:00
23rd
60bb93170e Fixed opacity of pattern bubble with chat theme while sending animation. 2025-10-10 11:24:15 +03:00
23rd
766370221b Fixed incorrect drawing of sending animation bubble with custom themes. 2025-10-10 11:24:15 +03:00
23rd
8007e6d354 Decomposed drawing of text and bubble for sending animation. 2025-10-10 11:24:15 +03:00
23rd
443053b927 Added simple sending animation for text messages to history widget. 2025-10-10 11:24:15 +03:00
23rd
b6000bc1a8 Added ability to pass optional local message id to sendMessage method. 2025-10-10 11:24:15 +03:00
23rd
8bdf8d42d9 Adapted retrieving displays name for Windows from Qt6.6.0.
6136b92f54
2025-10-10 11:24:07 +03:00
Ilya Fedin
c084396f8f Show display manufacturer and model on Linux 2025-10-10 11:24:07 +03:00
Ilya Fedin
b29877554c Make experimental option for non-native notifications cross-platform 2025-10-10 11:24:07 +03:00
23rd
a2d17f6f3f Added ability to choose display for notifications to settings. 2025-10-10 11:24:07 +03:00
23rd
54018aec90 Added experimental option for non-native notifications on macOS. 2025-10-10 11:24:07 +03:00
23rd
2699f9bcf6 Added icon to menu item for adding gift to collection. 2025-10-10 09:27:02 +04:00
23rd
094890622a Added text about to selector of tag for recent forwards to self. 2025-10-10 09:27:02 +04:00
23rd
bee4ec5ddf Added ability to filter new tagger for self forwards with opened chat. 2025-10-10 09:27:02 +04:00
23rd
29f533b170 Added info about origin peer to data about recent forwards. 2025-10-10 09:27:01 +04:00
23rd
296c2a7b5b Added ability to tag recent forwarded messages to self in chat section. 2025-10-10 09:27:01 +04:00
23rd
c4decce7f0 Added ability to tag with emoji recent forwarded messages to self. 2025-10-10 09:27:01 +04:00
23rd
a396f507f8 Slightly improved share message phrase factory to be more flexible. 2025-10-10 09:27:01 +04:00
23rd
eb96fd1b97 Added ability to paint bubble on top in reactions selector. 2025-10-10 09:27:01 +04:00
23rd
8cc7d80121 Added ability to notify about successful forwarded messages to self. 2025-10-10 09:27:01 +04:00
23rd
d59139202d Added ability to add gift to collection with context menu. 2025-10-10 09:27:01 +04:00
23rd
a3cd4a55de Added ability to remove gift from collection with context menu. 2025-10-10 09:27:01 +04:00
23rd
0cb7388ee0 Added menu item icon for reorder. 2025-10-10 09:27:01 +04:00
23rd
2700e9b326 Added contact notes to peer short info box. 2025-10-10 09:27:01 +04:00
23rd
d36d5b2980 Added new Changes flag for user notes. 2025-10-10 09:27:01 +04:00
John Preston
028437549d Fix build on macOS. 2025-10-10 09:27:01 +04:00
John Preston
1f17551bf4 Improve new thread icon for threaded bots. 2025-10-10 09:27:01 +04:00
23rd
cd301c9df2 Updated pinned intervals for sub tabs in gifts and stories on change. 2025-10-10 09:27:01 +04:00
John Preston
ce43aab4cd Handle sender links and spoilers in messages. 2025-10-10 09:27:01 +04:00
John Preston
86d1ab00e0 Support disabling messages in conferences. 2025-10-10 09:27:01 +04:00
John Preston
93b2a52f34 Support enabling/disabling messages. 2025-10-10 09:27:01 +04:00
John Preston
d3da830ef8 Support 3/4/5 buttons in group call layout. 2025-10-10 09:27:01 +04:00
John Preston
ec4deb87c6 Support hosted unique gifts. 2025-10-10 09:27:01 +04:00
John Preston
d832a0a186 Show better preview of gift-based reply-color. 2025-10-10 09:27:01 +04:00
John Preston
65800e17a5 Fix export gift on blockchain flow. 2025-10-10 09:27:01 +04:00
23rd
9c5dd452dd Added ability to reorder stories albums. 2025-10-10 09:27:01 +04:00
23rd
78940413a0 Removed instant stop of shifting animations in gifts while reordering. 2025-10-10 09:27:01 +04:00
23rd
cc2f459f26 Added scroll support while dragging gift in gifts section. 2025-10-10 09:27:01 +04:00
23rd
d1c98eb22a Improved mouse processing for dragged view in gifts section. 2025-10-10 09:27:01 +04:00
23rd
1fe9a0ee5a Improved previous state of dragged view in gifts section. 2025-10-10 09:27:01 +04:00
23rd
80a87f963a Preserved dragged gift during scroll gifts list to prevent recreation. 2025-10-10 09:27:01 +04:00
23rd
2c0051b083 Updated show of first star gift in collection after reorder in subtabs. 2025-10-10 09:27:01 +04:00
23rd
4a938170e1 Added initial ability to reorder star gifts within collection. 2025-10-10 09:27:01 +04:00
23rd
f3a27c4fcb Removed other menu items while reordering sub tabs for gifts collection. 2025-10-10 09:27:01 +04:00
23rd
f43b11fd6a Changed reorder of sub tabs for gifts collection only when finished. 2025-10-10 09:27:01 +04:00
23rd
93d382c416 Slightly simplified shake animation in sub tabs for gifts collection. 2025-10-10 09:27:01 +04:00
23rd
48e4060d62 Added scroll support to sub tabs for star gifts collection. 2025-10-10 09:27:01 +04:00
23rd
bbc7ef100c Added api support for reordering of star gifts collections. 2025-10-10 09:27:00 +04:00
23rd
c22468c943 Added initial ability to reorder sub tabs for gifts collection. 2025-10-10 09:27:00 +04:00
23rd
7d538ea080 Added ability to set pinned intervals to sub tabs for gifts collection. 2025-10-10 09:27:00 +04:00
23rd
aad1ff95be Added simple animation to sub tabs for gifts collection while reorder. 2025-10-10 09:27:00 +04:00
23rd
72f0fb6892 Added menu item to sub tabs for star gifts collections for reordering. 2025-10-10 09:27:00 +04:00
John Preston
a0baad4942 Fix build with Xcode. 2025-10-10 09:27:00 +04:00
John Preston
5e40d60e34 Update API scheme on layer 216. 2025-10-10 09:27:00 +04:00
John Preston
314f787042 Improve selection design for gifts. 2025-10-10 09:27:00 +04:00
John Preston
7f340da0ec Fix upgrade gift button text. 2025-10-10 09:27:00 +04:00
John Preston
acafa2bcad Allow buy-and-set color from collectible. 2025-10-10 09:27:00 +04:00
John Preston
404d8da1a3 Mostly finish collectible colors implementation. 2025-10-10 09:27:00 +04:00
John Preston
26be7840b4 Display collectible-based user reply bars. 2025-10-10 09:27:00 +04:00
23rd
520b84f967 Replaced icon for birthday suggestion in edit contact box. 2025-10-10 09:27:00 +04:00
23rd
e7f6a8a476 Added ability to edit contact note with context menu. 2025-10-10 09:27:00 +04:00
23rd
0f3ef4b35c Added ability to delete contact note with context menu. 2025-10-10 09:27:00 +04:00
23rd
60d88693ec Removed irrelevant menu item for birthday suggestion service message. 2025-10-10 09:27:00 +04:00
23rd
ff6e2b6d31 Fixed pinned count for subsection tabs when chat itself is pinned. 2025-10-10 09:27:00 +04:00
23rd
bc52ad7bf2 Added nice lottie icons to suggest and set photo in edit contact box. 2025-10-10 09:27:00 +04:00
23rd
daa24de171 Added toast when limit for note length is reached. 2025-10-10 09:27:00 +04:00
23rd
68f0e25227 Wrapped buttons in edit contact box. 2025-10-10 09:27:00 +04:00
23rd
320f2bea7b Added QDebug support for MTP::Error. 2025-10-10 09:27:00 +04:00
23rd
666692e341 Added ability to toggle editable username for owned bots. 2025-10-10 09:27:00 +04:00
John Preston
304cc33b76 Update API scheme on layer 216. 2025-10-10 09:27:00 +04:00
John Preston
e0f4aca336 Display reply/link area style from collectibles. 2025-10-10 09:27:00 +04:00
John Preston
ccdff5baef Support birthday suggestion view/process. 2025-10-10 09:27:00 +04:00
John Preston
16fe056c99 Read messages limit/ttl from appConfig. 2025-10-10 09:27:00 +04:00
John Preston
fb5c155f7e Fix message text clipping. 2025-10-10 09:26:59 +04:00
John Preston
eccbb0df7a Add reaction selector widget. 2025-10-10 09:26:59 +04:00
John Preston
0bcfcb4ea4 Show reaction animations in messages. 2025-10-10 09:26:59 +04:00
John Preston
b6b4d5c387 Remove test-case failed sending. 2025-10-10 09:26:59 +04:00
John Preston
bb7bfe95e5 Fix build on Windows. 2025-10-10 09:26:59 +04:00
23rd
ac1e5a08d8 Fix building with Qt 6. 2025-10-10 09:26:59 +04:00
23rd
4a05f0fd05 Added ability to suggest birthday from edit contact box. 2025-10-10 09:26:59 +04:00
23rd
f1dff4d0b7 Added ability to delete contact from edit contact box. 2025-10-10 09:26:59 +04:00
23rd
96343603cd Added user notes to user profile. 2025-10-10 09:26:59 +04:00
23rd
9dccab915d Added api ability to save contact notes. 2025-10-10 09:26:59 +04:00
23rd
0decf928f0 Added ability to manage contact photo in edit contact box. 2025-10-10 09:26:59 +04:00
23rd
44faef3027 Added ability to provide special markdown set to input field for notes. 2025-10-10 09:26:59 +04:00
23rd
52a590334c Added input field for notes to edit contact box. 2025-10-10 09:26:59 +04:00
23rd
8ea9709305 Added api support to handle notes into users. 2025-10-10 09:26:59 +04:00
23rd
751c7e05f9 Added support of limit for notes about contacts. 2025-10-10 09:26:59 +04:00
23rd
ebe0aa27e4 Added ability to pass optional margins to CharactersLimitLabel. 2025-10-10 09:26:59 +04:00
23rd
4ef7f0dd24 Added ability to display non-negative numbers in CharactersLimitLabel. 2025-10-10 09:26:59 +04:00
John Preston
4779c036f5 Update API scheme on layer 216. 2025-10-10 09:26:59 +04:00
John Preston
1480a4e270 Fix spoilers display. 2025-10-10 09:26:59 +04:00
John Preston
6a167a4b0f Allow custom emoji only from premium users. 2025-10-10 09:26:59 +04:00
John Preston
9b43f57dfa Support e2e encrypted conference messages. 2025-10-10 09:26:59 +04:00
John Preston
fc74840b55 Apply tags filtering and length limit. 2025-10-10 09:26:59 +04:00
John Preston
f408b1bb11 Scroll to bottom on message send. 2025-10-10 09:26:59 +04:00
John Preston
7a3e16b92f Escape hides message field, nice fade-shadows. 2025-10-10 09:26:59 +04:00
John Preston
939045d606 Update API scheme on layer 216. 2025-10-10 09:26:59 +04:00
John Preston
b3ee80e495 Fade call messages on top and bottom. 2025-10-10 09:26:59 +04:00
John Preston
1c17a76b80 Animate message field show/hide. 2025-10-10 09:26:59 +04:00
John Preston
08a55721bf Replace ScrollArea with ElasticScroll in messages. 2025-10-10 09:26:59 +04:00
John Preston
42991bfa2c Hide scrollbar in messages. 2025-10-10 09:26:59 +04:00
John Preston
46897689d3 Support scroll of messages without mouse input. 2025-10-10 09:26:59 +04:00
John Preston
9b3acf7162 Make messages nicer, sending animation. 2025-10-10 09:26:59 +04:00
John Preston
4436e3ba69 Implement initial messages display. 2025-10-10 09:26:59 +04:00
John Preston
78b3f21e7a Update API scheme on layer 216. 2025-10-10 09:26:59 +04:00
John Preston
e2ae0a7a4f Send / receive messages in group calls. 2025-10-10 09:26:58 +04:00
John Preston
5ed8f0baa5 Show sending message field in group chats. 2025-10-10 09:26:58 +04:00
John Preston
f1d4e48c59 Show message button in group calls. 2025-10-10 09:26:58 +04:00
23rd
48ac431134 Fixed refreshing of pinned on unpin within subsection slider. 2025-10-10 09:26:58 +04:00
23rd
d6a27c04b9 Fixed ability start recording of voice with shortcut in channels.
Fixed #29805.
2025-10-10 09:26:58 +04:00
23rd
388e9cec09 Respected admin rights in subsections slider for reordering. 2025-10-10 09:26:58 +04:00
23rd
b01f70176b Added scroll support to subsections slider for reordering. 2025-10-10 09:26:58 +04:00
23rd
e7b4a5db61 Fixed desired clicked callback for reordered tabs in subsection slider. 2025-10-10 09:26:58 +04:00
23rd
d5a1d28779 Added recalculation of pinned state while reordering in subsection tabs. 2025-10-10 09:26:58 +04:00
23rd
e0da4159ae Added api ability to reorder topics in forums with subsection tabs. 2025-10-10 09:26:58 +04:00
23rd
0eef766ea1 Added ui ability to reorder tabs in subsection slider. 2025-10-10 09:26:58 +04:00
23rd
aebd53363c Added initial implementation of reorder class for subsection slider. 2025-10-10 09:26:58 +04:00
23rd
f18bb1c780 Prepared subsection slider for reorder support. 2025-10-10 09:26:58 +04:00
23rd
eecb7c0622 Added nice ripple mask for pinned group of buttons in subsection tabs. 2025-10-10 09:26:58 +04:00
23rd
84c0b46266 Added initial icon to pinned group of buttons in subsection tabs. 2025-10-10 09:26:58 +04:00
23rd
fb030b3520 Added filling of fixed and pinned counts to subsection tabs. 2025-10-10 09:26:58 +04:00
23rd
42aac81fd8 Added initial style of pinned group of buttons in subsection tabs. 2025-10-10 09:26:58 +04:00
John Preston
09175d2b6b Allow removing unique gift details. 2025-10-10 09:26:58 +04:00
John Preston
46f64f75c7 Simplify gift tabs when sending. 2025-10-10 09:26:58 +04:00
John Preston
9b5425de14 Support 5-second slow mode. 2025-10-10 09:26:58 +04:00
John Preston
7b1135ecd4 Update API scheme on layer 216. 2025-10-10 09:26:58 +04:00
John Preston
2ca63ae324 Show upgrade price decrease information. 2025-10-10 09:26:58 +04:00
John Preston
5b02323487 Update API scheme on layer 216. 2025-10-10 09:26:58 +04:00
John Preston
cf99eef9c9 Mark general topic as deleted in bot forums. 2025-10-10 09:26:58 +04:00
John Preston
c54e05d220 Fix threads list opening for bots. 2025-10-10 09:26:58 +04:00
John Preston
a651853534 Add thread phrases instead of topic. 2025-10-10 09:26:58 +04:00
John Preston
a1a81b812a Improve bot new thread info panel. 2025-10-10 09:26:58 +04:00
John Preston
e74d0ef4e2 Start new bot thread on send in All. 2025-10-10 09:26:58 +04:00
John Preston
ca4caec819 Improve bot with forum opening. 2025-10-10 09:26:57 +04:00
John Preston
900c12d1d0 Fix draft-typings in topics. 2025-10-10 09:26:57 +04:00
John Preston
4d61701790 Clear out streamed drafts by messages/timeout. 2025-10-10 09:26:57 +04:00
John Preston
4fd0e734ea Initial support for streamed bot responses. 2025-10-10 09:26:57 +04:00
John Preston
b4d1ba07a6 Initial forum support in bots data classes. 2025-10-10 09:26:57 +04:00
John Preston
6974c511ea Update API scheme to layer 216. 2025-10-10 09:26:57 +04:00
John Preston
d30dd7450f Update API scheme to layer 215. 2025-10-10 09:26:57 +04:00
23rd
f877e653e9 Fixed useless animation from mini premium stars if not painting. 2025-10-09 18:26:54 +03:00
23rd
699ffc8b50 Returned unreadBadge/Muted but keep unreadWithMentionsBadge/Muted. 2025-10-09 19:06:03 +04:00
John Preston
135b81bbb4 Fallback to any h264 encoder in video messages. 2025-10-09 19:02:06 +04:00
John Preston
d9f5c2d16e Fix possible crash when video message encoding fails. 2025-10-09 19:02:06 +04:00
John Preston
2e0f04ce93 Fix alignment of "Top Senders" label. 2025-10-09 19:02:06 +04:00
John Preston
8ebb084f0f Remove incorrect "sender hidden" from unique gifts. 2025-10-09 19:02:06 +04:00
John Preston
f2bc07458d Fix links clickability in forums. 2025-10-09 19:02:06 +04:00
John Preston
b4daca860f Fix channel direct messages links. 2025-10-09 19:02:06 +04:00
John Preston
ac6919680a Fix crash in messages containing unsupported story. 2025-10-09 19:02:06 +04:00
John Preston
c6749f2d5c Stop CollectibleEmoji animation if not painting. 2025-10-09 19:02:06 +04:00
John Preston
47fd936306 Fix recording of video messages.
Fixes #29860.
2025-10-09 19:02:05 +04:00
Ilya Fedin
147439ad34 Add missed ConnectionState member variable to operator== 2025-10-06 21:05:19 +04:00
John Preston
1a3eb0f209 Version 6.1.4.
- Allow add to folder from recent / top chats.
- Fix clear history of group chats.
- Fix several crashes.
2025-10-06 13:53:57 +04:00
John Preston
acd2c514ce Fix build with GCC. 2025-10-06 13:53:57 +04:00
John Preston
fccff0c03a Fix build with Xcode. 2025-10-06 13:19:26 +04:00
Ilya Fedin
7cf8483f9a Get rid of AppData mentions
They renamed the extension from appdata to metainfo long time ago and the right name is "AppStream metadata"
2025-10-06 11:54:27 +04:00
Ilya Fedin
63bad22ac4 Remove some ffmpeg version conditionals
The previous commit uses a FFmpeg 6.1+ API making all those conditionals broken
2025-10-06 11:37:40 +04:00
Lukas Fleischer
b009f06375 Fix compatibility with ffmpeg 8
Fixes #29713.
2025-10-06 11:37:09 +04:00
John Preston
8aa5ebf621 Fix build on Windows. 2025-10-06 11:23:54 +04:00
John Preston
53ac770772 Do links disabling in groups as well. 2025-10-06 11:23:54 +04:00
John Preston
fbfe47528b Fix saved music page-after-page loading. 2025-10-06 11:23:54 +04:00
23rd
71443f7def Slightly improved style of text in credits rating icons. 2025-10-06 11:23:54 +04:00
23rd
a1b1165039 Cleared sponsored messages on premium just in case. 2025-10-06 11:23:54 +04:00
23rd
c060243201 Respected system-wide preference for disabling swipe-to-back on macOS. 2025-10-06 11:23:54 +04:00
23rd
93f84e2b65 Reversed gifts sort in section of shared media from info profile. 2025-10-06 11:23:54 +04:00
23rd
9cd971a53f Fixed userpic scale in short info box while scrolling. 2025-10-06 11:23:54 +04:00
23rd
b22b819683 Added ability to short info for peer from menu with pressed Ctrl. 2025-10-06 11:23:54 +04:00
John Preston
8779ac3ec3 Hide links in chats with Report Spam. 2025-10-06 11:23:54 +04:00
John Preston
16ec935feb Paint correct direct userpic in recent/top peers. 2025-10-06 11:23:54 +04:00
John Preston
e59d229097 Remove direct chats that were cleared. 2025-10-06 11:23:54 +04:00
John Preston
9028d9a339 Check support mode on full self load. 2025-10-06 11:23:54 +04:00
John Preston
6999a1b5e4 Allow add to folder from recent / top peers. 2025-10-06 11:23:54 +04:00
John Preston
7ef6d33ea9 Use correct phrase for bot noforwards. 2025-10-06 11:23:54 +04:00
John Preston
3824f19ce5 Fix chat preview for channel direct messages.
Fixes #29802.
2025-10-06 11:23:54 +04:00
23rd
930268ed0d Improved style of text badge in dialogs for retina displays. 2025-10-06 11:23:54 +04:00
23rd
cb0a3fdb6e Disabled field for input while recording voice.
Fixed #29818.
2025-10-06 11:23:53 +04:00
23rd
4c0a2b1d3d Added initial support of swipe-to-back to settings premium and credits. 2025-10-06 11:23:53 +04:00
23rd
6fd34dee5a Fixed giveaway bubble height calculation for narrow widths. 2025-10-06 11:23:53 +04:00
23rd
1c56c4dfe5 Moved out common big unread counter formatting logic to single place. 2025-10-06 11:23:53 +04:00
23rd
53321160c4 Changed emoji for to-do list in notification text. 2025-10-06 11:23:53 +04:00
23rd
5b29d3bb72 Returned missed item back to to-do list for editing. 2025-10-06 11:23:53 +04:00
23rd
4796a3116a Slightly improved style of bottom label in to-do list. 2025-10-06 11:23:53 +04:00
23rd
6183569dc2 Slightly improved phrases in subtitle of to-do list. 2025-10-06 11:23:53 +04:00
John Preston
3296a2addb Increase .pdb page size for 32 bit build. 2025-10-06 11:23:53 +04:00
John Preston
235cb0c574 Revert "Add a hack to delete .pdb before link."
This reverts commit 0a8316138e7bb7b22ad82e0c232321dc089666d6.
2025-10-06 11:23:53 +04:00
John Preston
570fbd9a00 Allow empty query in switch inline in webview bots. 2025-10-06 11:23:53 +04:00
John Preston
e205b521fd Fix parsing checklist pasting of multiline. 2025-10-06 11:23:53 +04:00
23rd
ce15754575 Hid emoji status from profile cover in edit contact box as well. 2025-10-06 11:23:53 +04:00
23rd
18085bae70 Hid unused properties from profile cover in edit contact box. 2025-10-06 11:23:53 +04:00
John Preston
61536b42c9 Improve layout of transfer gift box. 2025-10-06 11:23:53 +04:00
John Preston
532f166b22 Remove NEW badge for Posts search. 2025-10-06 11:23:53 +04:00
John Preston
c1d3a78316 Fix possible crash in moderate messages box. 2025-10-06 11:23:53 +04:00
John Preston
e524d9694d Fix possible crash in SavedSublist. 2025-10-06 11:23:53 +04:00
John Preston
1efa889913 Fix possible crash in fast action in chats list. 2025-10-06 11:23:53 +04:00
John Preston
c73788da24 Try not forcing OpenGL for main window on macOS. 2025-10-06 11:23:53 +04:00
John Preston
5ec277b2ed Show "N left" badge on limited gifts. 2025-10-06 11:23:52 +04:00
John Preston
e327e1bc9c Fix crash in subsection tabs mode changing. 2025-10-06 11:23:52 +04:00
23rd
37c5c1dc98 Delayed clearing up of expired unreviewed sessions on startup. 2025-10-03 14:01:34 +04:00
Ilya Fedin
156e1a00d3 macos-13 -> macos-15-intel 2025-10-03 11:53:22 +04:00
Ilya Fedin
3aa9a2f2c0 Allow webview without embedding on Linux 2025-10-03 11:37:51 +04:00
Ilya Fedin
e1f5b57fd3 Revert "Add error message for webview without OpenGL"
This reverts commit 20fb73b626.
2025-10-03 11:37:51 +04:00
Ilya Fedin
cf757b6c7b Revert "Add error message for webview unsupported display server"
This reverts commit b0933b96ef.
2025-10-03 11:37:51 +04:00
Ilya Fedin
bd2da8d632 Update submodules 2025-10-01 15:59:53 +04:00
GitHub Action
01b7e387eb Update User-Agent for DNS to Chrome 140.0.0.0. 2025-10-01 10:24:02 +04:00
John Preston
60bf6b1f70 Improve gifts display. 2025-10-01 10:21:20 +04:00
John Preston
7839c6294c Add a hack to delete .pdb before link. 2025-10-01 10:21:19 +04:00
23rd
20cadfad29 Added experimental option to hide reply button from native notification. 2025-09-29 15:12:51 +03:00
23rd
2b93362a57 Added fetching "Mark as read" translation based on macOS language. 2025-09-29 15:12:51 +03:00
23rd
5476f297e1 Added ability to get value of phrase for specific language. 2025-09-29 15:12:51 +03:00
23rd
b79fbe2123 Added "Mark as read" action to macOS notifications. 2025-09-29 15:12:51 +03:00
23rd
d9a76fdd9a Removed version of zlib from readme. 2025-09-29 15:12:51 +03:00
23rd
721a69f2b1 Slightly improved code style of MediaPreviewWidget. 2025-09-29 15:12:51 +03:00
23rd
a49b3e67d0 Added ability to provide data to emoji list for preview via descriptor. 2025-09-29 15:12:51 +03:00
23rd
297600ca6d Added ability to set blind corners for MediaPreviewWidget. 2025-09-29 15:12:51 +03:00
23rd
15019051c0 Added QDebug operator support for Data::UnreadState. 2025-09-29 15:12:51 +03:00
23rd
2b7e8bf449 Fixed display of name of caller to fit within call panel. 2025-09-29 15:12:51 +03:00
23rd
928798dc16 Added initial ability to edit caption of latest uploading media with Up. 2025-09-29 15:12:51 +03:00
23rd
1a01ec17d6 Respected limitations of caption length for media in caption boxes. 2025-09-29 15:12:51 +03:00
23rd
69da4d749b Replaced multi-purpose callShadow with specific one for media view PiP. 2025-09-29 15:12:50 +03:00
23rd
b1fc95b1d9 Added decimal separators to credits in charge slider for direct message. 2025-09-29 15:12:50 +03:00
23rd
0b7f104c95 Added ability to preview emoji within reactions emoji pan. 2025-09-29 15:12:34 +03:00
23rd
912974cb80 Added ability to set padding and margins for MediaPreviewWidget. 2025-09-29 15:12:34 +03:00
23rd
9bbb8ef31c Replaced unreadBadge/Muted with unreadWithMentionsBadge/Muted. 2025-09-29 15:12:34 +03:00
23rd
e01f53a58c Fixed ability to clear history for groups and megagroups. 2025-09-29 15:12:34 +03:00
Ilya Fedin
82c69a03ef Explicitly disable documentation build for libheif 2025-09-24 10:53:31 +04:00
Ilya Fedin
f8aa79aaf5 Update msys2 2025-09-24 10:53:31 +04:00
Ilya Fedin
700ae79b93 Revert "Switch macOS packaged action to latest ffmpeg"
This reverts commit 2cb20fe342.
2025-09-24 10:53:31 +04:00
Ilya Fedin
8dd8ab6366 Set deployment target in macOS packaged action 2025-09-24 10:53:31 +04:00
Ilya Fedin
28d19a99e1 Fix build with Qt 6.10 2025-09-24 08:30:48 +04:00
dependabot[bot]
6627de6460 Bump actions/stale from 9 to 10
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 17:00:15 +04:00
Ilya Fedin
795d452493 Update submodules 2025-09-15 16:42:36 +04:00
Ilya Fedin
2d7f52972d Add ASAN flag to Dockerfile generator 2025-09-15 16:42:36 +04:00
John Preston
6229c0020c Version 6.1.3.
- Fix dead keys / alt combinations / input methods issues.
2025-09-07 08:46:44 +04:00
23rd
8db1bf9052 Added ability to share link for monoforum of owned channels. 2025-09-07 08:46:44 +04:00
23rd
2740c5db23 Extracted URL protocol stripping to Ui::Text::StripUrlProtocol. 2025-09-07 08:46:44 +04:00
23rd
512e6de39b Fixed position of tag preview in chats filter settings.
Fixed #29750.
2025-09-07 08:46:44 +04:00
23rd
e3c328c7e3 Reverted "Removed ability to clear history from replies chat.".
This reverts commit 86daf2a9dc.
2025-09-07 08:46:44 +04:00
John Preston
9eb5ea599e Fix build with MSVC. 2025-09-06 19:09:21 +03:00
Ilya Fedin
929032d598 Add GStreamer H264, H265, AAC and VA-API plugins to snap 2025-09-06 20:05:21 +04:00
Ilya Fedin
09fb42291d Revert "Self-build openh264 in snap for lesser package size"
This reverts commit a8430d8ecf.
2025-09-06 20:05:21 +04:00
Ilya Fedin
e6665a8305 Fix playing audio files via webkitgtk in snap 2025-09-06 20:04:48 +04:00
John Preston
a785d83791 Don't cancel special KeyPress events (key = 0).
I hope this fixes #29747, #29745, #29744, #29743, #29741.
2025-09-06 08:39:51 +04:00
23rd
08a64f0dc0 Fixed color of lottie icon from transcribe voices while loading. 2025-09-04 13:05:37 +03:00
John Preston
0babad837d Remove legacy "quicklaunchicon" InnoSetup task. 2025-09-04 13:03:25 +04:00
John Preston
fb1f70f5de Version 6.1.2.
- Close selected chat in Ctrl+Tab chat switch by 'Q'.
- Auto-split pasted multiple lines to checklist task creation.
- Fix color picker in userpic builder.
2025-09-04 12:03:07 +04:00
John Preston
d4dd1b7ba0 Fix build with GCC. 2025-09-04 12:03:07 +04:00
John Preston
82c921d739 Fix build with Xcode. 2025-09-04 12:00:49 +04:00
John Preston
180a570f99 Handle robustly Ctrl+Q/Ctrl+Arrows in Ctrl+Tab chat switch. 2025-09-04 12:00:35 +04:00
John Preston
9960a7a7e4 Remove unneeded openssl/engine.h include. 2025-09-04 11:43:59 +04:00
John Preston
2164d08c3c Fixed a crash in gifts section closing.
Fixes #29737.
2025-09-04 11:28:21 +04:00
John Preston
4b2d0d1a67 Allow a bit more theme previews. 2025-09-02 21:36:08 +04:00
John Preston
d0341d191b Close selected chat in switch by Q. 2025-09-02 19:22:19 +04:00
John Preston
10237a2d90 Correct gift symbol sizes and rotations. 2025-09-02 17:28:38 +04:00
John Preston
59390ddaa1 Support pasting multi-line as multi-tasks. 2025-09-02 13:54:42 +04:00
John Preston
312c94f386 Fill suggested prices for gifts between stars/TON. 2025-09-02 12:04:47 +04:00
John Preston
d697677fab Fix time input colon. 2025-09-02 08:38:10 +04:00
John Preston
bf484b5518 Update lib_webview. 2025-09-02 08:33:15 +04:00
John Preston
74b530259d Fix color picker in userpic builder again. 2025-09-02 08:26:04 +04:00
John Preston
4052c3d101 Fix color picker in userpic builder. 2025-09-02 08:17:29 +04:00
John Preston
86262333a4 Version 6.1.1.
- Ctrl+Tab / Ctrl+Shift+Tab collect chats on every launch.
- Fix Ctrl+Tab / Ctrl+Shift+Tab shortcut override.
- Fix possible crashes in saved music.
- Fix webview error label alignment.
2025-09-01 17:53:59 +04:00
John Preston
3419b49381 Hide gift value details tooltips on click. 2025-09-01 17:52:15 +04:00
John Preston
ec5725d8de Fix finalizing intersecting quotes. 2025-09-01 17:34:27 +04:00
John Preston
9df98352a8 Show correct error on gift limit reaching. 2025-09-01 17:14:55 +04:00
John Preston
c0c5ad21b6 Don't push recent peers to chat switch. 2025-09-01 16:03:30 +04:00
John Preston
4a23da6ce1 Fix build with GCC. 2025-09-01 12:42:29 +04:00
John Preston
6d1e5243d8 Fix possible crash in recent chat switches. 2025-09-01 11:58:05 +04:00
John Preston
c52a31384e Fix couple of possible crashes in saved music. 2025-09-01 11:57:19 +04:00
John Preston
36447eb1e3 Try fixing macOS action build. 2025-09-01 11:28:52 +04:00
John Preston
811dfee42c Separately bought upgrade doesn't auto-add details. 2025-09-01 11:23:33 +04:00
John Preston
b075bb9f4e Fix checkbox in background settings. 2025-09-01 10:59:54 +04:00
John Preston
00919f3232 Support arrows in chat switch. 2025-09-01 10:27:55 +04:00
John Preston
6dcd52deb5 Support all userpic types in Switch. 2025-09-01 10:27:55 +04:00
John Preston
edc70e9acb Improve phrases for currency switching. 2025-09-01 10:27:55 +04:00
John Preston
4ad12b6862 Fix alignment of webview crashed error. 2025-09-01 10:27:55 +04:00
John Preston
d63f3b6da1 Fix ctrl+tab/ctrl+shift+tab as overriden shortcuts. 2025-09-01 10:27:55 +04:00
John Preston
84c70a0905 Suggest upgrading next gift. 2025-09-01 10:27:55 +04:00
GitHub Action
8f65a7ac19 Update User-Agent for DNS to Chrome 139.0.0.0. 2025-09-01 10:26:56 +04:00
dependabot[bot]
c78262be91 Bump endersonmenezes/free-disk-space from 2.1.0 to 2.1.1
Bumps [endersonmenezes/free-disk-space](https://github.com/endersonmenezes/free-disk-space) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/endersonmenezes/free-disk-space/releases)
- [Commits](dd13eb48e7...713d134e24)

---
updated-dependencies:
- dependency-name: endersonmenezes/free-disk-space
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 10:26:29 +04:00
dependabot[bot]
cb51238bfc Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 10:26:03 +04:00
John Preston
87f873c8b6 Version 6.1.
- Music on Profiles.
- Gift Themes.
- Gift Value Information.
- Upgrading Gifts for Other Users.
2025-09-01 00:05:29 +04:00
John Preston
a37528b377 Fix crash in premium preview. 2025-09-01 00:05:29 +04:00
John Preston
51a58182ee Use saved music as is for now. 2025-09-01 00:05:29 +04:00
John Preston
cc4b768f54 Implement nice gift theme message layout. 2025-08-31 23:04:49 +04:00
John Preston
b016be6eb5 Fix emoji repaint crashing. 2025-08-31 22:18:17 +04:00
John Preston
881d73d4ab Fix build with MSVC. 2025-08-31 22:18:17 +04:00
John Preston
8859e352f9 Fix crash with widget double delete. 2025-08-31 22:06:04 +04:00
John Preston
5b0fc5b97b Fix build with Xcode. 2025-08-31 20:53:24 +04:00
John Preston
76cc59acab Show gift sticker in the background. 2025-08-31 20:53:12 +04:00
John Preston
e792088ceb Insert gift pattern symbols in background. 2025-08-31 20:53:12 +04:00
John Preston
1dc70d5a8d Load gift themes while scrolling. 2025-08-31 20:53:12 +04:00
John Preston
e876a0f6bd Set gift as theme from gift view. 2025-08-31 20:53:12 +04:00
John Preston
50450de3e4 Confirm transfer gift theme. 2025-08-31 20:53:12 +04:00
John Preston
c8abc84c3c Put gift themes in beginning. 2025-08-31 20:53:12 +04:00
John Preston
1f3996032c Fix theme preview pattern loading. 2025-08-31 20:53:12 +04:00
John Preston
b868cfdca9 Fix pattern caching on themed chat open. 2025-08-31 20:53:12 +04:00
John Preston
d51944e6a5 Update API scheme on layer 214. 2025-08-31 20:53:12 +04:00
John Preston
4419ba55e8 Start gift theme background parsing. 2025-08-31 20:53:12 +04:00
John Preston
9e8ae54821 Update API scheme to layer 214. Start themes. 2025-08-31 20:53:12 +04:00
John Preston
4ed266780a Fix emoji status texts. 2025-08-31 20:53:12 +04:00
John Preston
46886b4dcc Support channel direct messages links. 2025-08-31 20:53:12 +04:00
John Preston
1e2531f0b1 Support locked gifts. 2025-08-31 20:53:12 +04:00
John Preston
0e43fd4d00 Update API scheme on layer 213. 2025-08-31 20:53:12 +04:00
John Preston
10448bcc3d Support fileref refresh in saved music. 2025-08-31 20:53:12 +04:00
John Preston
4f1c2788b8 Improve phrasing for saved music. 2025-08-31 20:53:11 +04:00
John Preston
dbaa7b5e67 Allow forward / delete saved music. 2025-08-31 20:53:11 +04:00
John Preston
6211b7733d Support saved music playlist. 2025-08-31 20:53:11 +04:00
John Preston
0d6ea0845e Make nice music button in profile. 2025-08-31 20:53:11 +04:00
John Preston
b8e10fb34b Proof-of-concept saved music API support. 2025-08-31 20:53:11 +04:00
John Preston
b9c6e595d7 Update API scheme on layer 213. 2025-08-31 20:53:11 +04:00
John Preston
7d701d3e9c Fix upgrading of gifts with gifted upgrade. 2025-08-31 20:53:11 +04:00
John Preston
92d9c3c92b Finish gift value display. 2025-08-31 20:53:11 +04:00
John Preston
7007977891 Reuse some table values in gift table. 2025-08-31 20:53:11 +04:00
John Preston
9f5d24bbc9 Start gift value information display. 2025-08-31 20:53:11 +04:00
John Preston
2834a83eec Update API scheme on layer 212. 2025-08-31 20:53:11 +04:00
John Preston
eb82473395 Update API scheme on layer 212, gift upgrades. 2025-08-31 20:53:11 +04:00
John Preston
4a33d3227e Suggest upgrading next gift. 2025-08-31 20:53:11 +04:00
John Preston
235456e18e Update API scheme to layer 212. 2025-08-31 20:53:11 +04:00
23rd
1f9e532fbc Added link to info to box about sponsored messages. 2025-08-31 00:34:07 +03:00
23rd
8bc2d3184a Added lottie icon to transcribe voices while loading. 2025-08-30 23:39:36 +03:00
23rd
9ef54d1218 Added LottieCustomEmoji. 2025-08-30 23:39:36 +03:00
23rd
7e48cb97b0 Fixed first frame animation of opening schedule section for send button. 2025-08-30 23:19:40 +03:00
23rd
a226f0b58c Added toasts after review of unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd
65fd47a082 Fixed handle of dialogs resize for unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd
600b7d1d54 Slightly improved generation of stars in low credits balance list. 2025-08-30 23:19:40 +03:00
23rd
b8f4d4877e Added loading animation to list of options for low credits balance. 2025-08-30 23:19:40 +03:00
23rd
6a114e1275 Added ability to provide to loading text element style::TextStyle. 2025-08-30 23:19:40 +03:00
23rd
5d3d8640e3 Added unconfirmed authorizations to top bar suggestions in dialogs. 2025-08-30 23:19:40 +03:00
23rd
f09d2d22eb Added api support of new unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd
94ccd8f8b6 Added ability to store unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd
c96ce890d6 Added initial struct data for unreviewed authorizations. 2025-08-30 23:19:40 +03:00
23rd
de55be397b Improved style of withdrawal button in credits settings. 2025-08-30 23:19:40 +03:00
23rd
1420714cae Fixed display of "Show more" button in channel currency earn list. 2025-08-30 23:19:40 +03:00
23rd
b15305bc69 Respected localized number format in statistics. 2025-08-30 23:19:40 +03:00
23rd
db25b111e0 Fixed display of currency minor part from earn stats in some cases. 2025-08-30 23:19:40 +03:00
23rd
eeea9932ed Removed simple colorizing of query of hash or cashtag in found messages. 2025-08-30 23:19:40 +03:00
23rd
c710e9a54d Fixed display of label in self destruction box.
Fixed #29694.
2025-08-30 23:19:40 +03:00
23rd
62613e7da1 Added support of custom brush to loading element for peer list. 2025-08-30 23:19:40 +03:00
23rd
946b597471 Added support of custom bg to loading element for peer list. 2025-08-30 23:19:40 +03:00
23rd
691c55bedd Simplified master branch updater Github Action. 2025-08-30 23:19:40 +03:00
23rd
8387969467 Removed unused trigger for Github CI that updates user-agent for DNS. 2025-08-30 23:19:40 +03:00
23rd
90d21375c8 Removed ability to create todo lists in replies chat. 2025-08-30 23:19:40 +03:00
23rd
86daf2a9dc Removed ability to clear history from replies chat. 2025-08-30 23:19:40 +03:00
23rd
90473957cb Added process of error when collectible info can't be revealed. 2025-08-30 23:19:40 +03:00
23rd
3549c00141 Added ability to forward to Saved Messages on fast action with Ctrl. 2025-08-30 23:19:40 +03:00
23rd
1c1d13545b Added special check of balance on channel earn out just in case. 2025-08-30 23:19:40 +03:00
23rd
f1b3db89fb Fixed hover rect of entry item in channel earn history. 2025-08-30 23:19:40 +03:00
23rd
8c77baca6f Fixed wrong focus while recording voice in sections. 2025-08-30 23:19:40 +03:00
Ilya Fedin
36a40d97a7 Update submodules 2025-08-30 17:50:39 +04:00
Ilya Fedin
1eb9b40607 Update Qt to 6.9.2 2025-08-30 17:50:39 +04:00
Ilya Fedin
05c10e3f57 Switch patches to nil plugin in snap 2025-08-30 16:04:57 +04:00
Ilya Fedin
0cf3325655 Fix macOS action 2025-08-26 07:48:17 +04:00
Ilya Fedin
48525de714 Restore icon key in snapcraft.yaml
Looks like it didn't help with themed icon after all and snapcraft chooses a 64x64 icon without it which looks blurry with HiDPI
2025-08-23 19:58:56 -07:00
John Preston
7e15722eab Beta version 6.0.3.
- Ctrl+Tab / Ctrl+Shift+Tab for last opened chats switching.
- New topic dividers for groups with topics and tabs.
- Adjust volume of notification sounds.
- Show stars required for the next rating level.
- IV support on Linux (in case WebView works).
2025-08-22 21:17:48 +04:00
John Preston
719c209c7b Fix build with Xcode. 2025-08-22 21:17:48 +04:00
John Preston
d05ad44b84 Fix build with GCC. 2025-08-22 21:15:53 +04:00
Ilya Fedin
b352c97479 Switch from custom URI scheme to local HTTP server for webview on Linux 2025-08-22 18:05:11 +04:00
Ilya Fedin
063085a6bb Format Linux webview socket path using std::format 2025-08-22 18:05:11 +04:00
Ilya Fedin
b4bca16109 Get rid of wayland-scanner downgrade 2025-08-22 17:48:43 +04:00
John Preston
03770c52fe Support floating topic bars in forums. 2025-08-22 13:13:20 +04:00
John Preston
10fe5cdd5d Keep recent peers userpics in memory. 2025-08-22 13:06:04 +04:00
John Preston
57d459b917 Show nice topic/sublist userpics. 2025-08-22 13:06:03 +04:00
John Preston
fe26594f12 Improve Ctrl+Tab switch design. 2025-08-22 13:05:27 +04:00
John Preston
0d8065fc1f First attempt of Ctrl+Tab/Ctrl+Shift+Tab UI. 2025-08-22 13:05:26 +04:00
John Preston
a3cdae1e94 Fix refreshing story file reference. 2025-08-22 13:05:26 +04:00
John Preston
29d77b649b Nice selection of gifts for a collection. 2025-08-22 13:05:26 +04:00
John Preston
9e190cee81 Show next-level stars in rating. 2025-08-22 13:05:26 +04:00
John Preston
687bfd0f17 Remove some FixedHeightWidget-s. 2025-08-22 13:01:49 +04:00
23rd
7d7df4f749 Fixed display of about text in low credits balance box in some cases. 2025-08-20 12:40:16 +03:00
23rd
958dede319 Fixed active color of recording voice button. 2025-08-19 20:51:32 +03:00
23rd
76e814944d Added shortcuts to start recording of voice or round message.
Fixed #29633.
2025-08-19 16:52:48 +03:00
23rd
fbc1d75e9a Added ability to start and lock voice recording immediately. 2025-08-19 16:43:47 +03:00
23rd
b3c7ce05dc Added ability to send recording voice with submit key. 2025-08-19 16:43:47 +03:00
23rd
feea881e09 Slightly improved position of tooltip for voice record bar. 2025-08-19 13:21:51 +03:00
23rd
b978bc4876 Added ability to bottom scroll in HistoryView::Chat section with submit.
Fixed #29662.
2025-08-19 12:34:46 +03:00
23rd
f84181e7a5 Added event for scrolling to bottom to compose controls. 2025-08-19 12:33:38 +03:00
John Preston
313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
John Preston
a39c018359 Scroll to top on global posts search. 2025-08-18 17:25:31 +04:00
John Preston
a09f57d908 Fix natural width for LabelWithNumbers. 2025-08-18 17:25:31 +04:00
John Preston
596828cf78 Fix webview blocking popups. 2025-08-18 17:25:31 +04:00
23rd
44843aa9cd Added hint about archive and its features. 2025-08-18 13:26:26 +03:00
23rd
5f930cc4d1 Added initial ability to rate voice transcriptions. 2025-08-18 13:26:23 +03:00
23rd
7defad5d95 Added ability to clear history for channels and megagroups.
Fixed #28778.
2025-08-17 14:47:49 +03:00
23rd
707af8a295 Got rid Ui::CreateLabelWithCustomEmoji. 2025-08-17 14:47:49 +03:00
23rd
e0fb9ffbb0 Added support of setting up of login email from intro. 2025-08-17 14:47:49 +03:00
23rd
d614de6f5e Fixed display of error in cloud password section with new naturalWidth. 2025-08-17 14:47:49 +03:00
Ilya Fedin
86b94b4723 Change notification volume visibility on support change
Cross platform VolumeSupported wrapper
2025-08-17 14:47:49 +03:00
23rd
5070300050 Added ability to test on place volume of notifications. 2025-08-17 14:47:49 +03:00
23rd
1919546441 Added ability to change volume of specific notifications from settings. 2025-08-17 14:47:49 +03:00
23rd
1c3cd8d44b Added ability to change master volume of notifications from settings. 2025-08-17 14:47:49 +03:00
23rd
292296266f Added convenient utils to pass and change notifications volume from ui. 2025-08-17 14:47:49 +03:00
23rd
a3e8848bc8 Added ability to check if OS has support of notifications volume. 2025-08-17 14:47:49 +03:00
23rd
ced146fc63 Added session-specific settings for volume of notifications for peers. 2025-08-17 14:47:49 +03:00
23rd
6ed79f6a0d Added global settings for master volume of notifications. 2025-08-17 14:47:49 +03:00
23rd
15e4d86e92 Added ability to override volume in media audio tracks. 2025-08-17 14:47:49 +03:00
23rd
5a29a7d2a3 Moved out DefaultNotify to data_peer_notify_settings. 2025-08-17 14:47:49 +03:00
23rd
034740ce46 Removed unused PeerListWidget. 2025-08-17 14:47:49 +03:00
23rd
a2847246e6 Replaced custom GroupMembersWidget with PeerList. 2025-08-17 14:47:49 +03:00
23rd
04479ad660 Moved out GroupMembersWidget to correspond file and namespace. 2025-08-17 14:47:49 +03:00
23rd
35d2fff593 Added initial support of highlighting for found query in quotes. 2025-08-17 14:47:49 +03:00
23rd
2b93fe9a30 Added simple colorizing of query in found messages from compose search. 2025-08-17 14:47:49 +03:00
23rd
5c33a2bd5c Added simple colorizing of query in found messages. 2025-08-17 14:47:49 +03:00
23rd
a28f113105 Moved FindSearchQueryHighlight to use as util. 2025-08-17 14:47:49 +03:00
23rd
eb7976a2ef Replaced alignment of title bar with left side for macOS 26. 2025-08-17 14:47:49 +03:00
23rd
15db1c0c30 Added ability to withdrawal personal currency balance. 2025-08-17 14:47:49 +03:00
23rd
2b83c95869 Moved out ui util for channel earn list to static function. 2025-08-17 14:47:49 +03:00
dependabot[bot]
273d5596d7 Bump endersonmenezes/free-disk-space
Bumps [endersonmenezes/free-disk-space](https://github.com/endersonmenezes/free-disk-space) from 4cae28d0d8e716a770938d92630f23db5184f61f to dd13eb48e709830a7ec4e50692e841be6b400d90.
- [Release notes](https://github.com/endersonmenezes/free-disk-space/releases)
- [Commits](4cae28d0d8...dd13eb48e7)

---
updated-dependencies:
- dependency-name: endersonmenezes/free-disk-space
  dependency-version: dd13eb48e709830a7ec4e50692e841be6b400d90
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 17:21:13 +04:00
Ilya Fedin
b423dab152 Fix Windows action execution on SDK update 2025-08-15 17:20:47 +04:00
Ilya Fedin
1b104bcf29 Update Windows SDK version 2025-08-15 17:20:47 +04:00
John Preston
5cad9a8c44 Fix build on layer 211. 2025-08-15 09:32:40 +04:00
John Preston
ec8a475a2c Fix top bar selection label resizing. 2025-08-14 18:45:52 +04:00
John Preston
e656cb8118 Fix vertical layout once again. 2025-08-14 18:30:17 +04:00
John Preston
7f2a0b6630 Scroll a bit further when switching tabs. 2025-08-14 18:30:01 +04:00
John Preston
f9bf40a771 Fix crash in forum removal with new tabs. 2025-08-14 18:30:01 +04:00
John Preston
96360619e1 Add some asserts in stats. 2025-08-14 18:30:01 +04:00
John Preston
4cefc21819 Close forum when searching in different chat. 2025-08-14 18:30:01 +04:00
Ilya Fedin
192a56ee15 Shorter notifications proxy check for Linux notifications 2025-08-13 11:19:38 +04:00
John Preston
cf16472dd0 Fix user profiles. 2025-08-13 11:18:34 +04:00
John Preston
b2fb2d5821 Attempt to fix the naturalWidth feature. 2025-08-13 11:18:34 +04:00
John Preston
c939eda7bb Hide "Use for calls" in Socks5 while not supported. 2025-08-13 11:18:34 +04:00
John Preston
428e059895 Write unknown cons to mtproto logs. 2025-08-13 11:18:34 +04:00
John Preston
1b4ea2e9c6 Use Api::ParseTextWithEntities more. 2025-08-13 11:18:34 +04:00
John Preston
d60bfa238f Merge TWidget* into Ui::RpWidget*. 2025-08-11 13:55:16 +04:00
John Preston
cc98f7da36 Fix topic unread count badges. 2025-08-11 10:36:26 +04:00
John Preston
87cdc22990 Fix marking read in new forum layout. 2025-08-11 10:36:26 +04:00
John Preston
60f6ea3252 Show informative empty posts search. 2025-08-11 10:29:11 +04:00
John Preston
86cffae001 Remove unused function. 2025-08-11 10:29:11 +04:00
John Preston
77cec0e338 Make big Upgrade button for gifts. 2025-08-11 10:29:11 +04:00
John Preston
ee85bb9a1b Improve rating layout. 2025-08-11 10:29:11 +04:00
John Preston
bf0b85afd1 Improve posts search transaction entry view. 2025-08-11 10:29:11 +04:00
John Preston
5473696491 Fix dice-type game display. 2025-08-11 10:29:11 +04:00
Ilya Fedin
0bc59a82ba Use symbolic links for icons in snap 2025-08-09 15:44:08 +04:00
Ilya Fedin
a8430d8ecf Self-build openh264 in snap for lesser package size 2025-08-09 15:44:08 +04:00
Ilya Fedin
9672b2ec23 Use double dash consistently in snap ldflags 2025-08-09 15:44:08 +04:00
Ilya Fedin
60447f073f Partially revert "Move packages to a separate snap part"
This partially reverts commit ef2e9406c7 restoring per-part build packages so changes to them don't lead to rebuild of all parts.
2025-08-09 10:39:48 +04:00
Ilya Fedin
62329c104c Fix accidentally broken CMAKE_INSTALL_PREFIX in snap
Regression was introduced in a6a8363527
2025-08-09 10:39:48 +04:00
John Preston
536884bb46 Fix build with new Xcode. 2025-08-08 11:26:39 +04:00
John Preston
efb213fb9f Fix build with latest Xcode. 2025-08-08 09:52:57 +04:00
Ilya Fedin
02b43c9375 Remove systemd-detect-virt from snap
It could be used from the core snap since hardware-observe plug was connected
2025-08-08 09:08:05 +04:00
Ilya Fedin
9a2679efaa Remove unity7 plug from snap
Looks like the desktop plug has everything needed since snapd 2.67
2025-08-08 09:07:53 +04:00
Ilya Fedin
00a396c3e7 Fix stage paths in snap 2025-08-06 07:43:33 +04:00
John Preston
b4272c306d Get rid of registerImageEmoji/registerInternalEmoji. 2025-08-04 22:27:08 +04:00
John Preston
b876605e93 Remove per-star options in giveaway creation. 2025-08-04 16:02:01 +04:00
John Preston
7f896a9f40 Use better ton icon in strings. 2025-08-04 12:50:24 +04:00
John Preston
a96874ac55 Allow '@' in search posts queries. 2025-08-04 11:51:42 +04:00
John Preston
1f8d3ed911 Fix incorrect filesize check.
Fixes #29630.
2025-08-04 11:46:19 +04:00
23rd
56be0ef4be Fixed incorrect state of disabled calls for account in notifications. 2025-08-04 11:15:44 +04:00
John Preston
67079545b3 Ease filtering on posts search queries. 2025-08-04 11:15:09 +04:00
John Preston
54b8811843 Version 6.0.2.
- Improve design of profile stars rating.
2025-08-01 22:44:55 +04:00
John Preston
0bbfe20089 Improve pending rating info. 2025-08-01 22:09:07 +04:00
John Preston
667822ca08 Improve negative rating display. 2025-08-01 22:09:07 +04:00
Ilya Fedin
051b8c4b63 Limit malloc_trim to once per 10 seconds 2025-08-01 18:48:55 +04:00
John Preston
c2f5e7eb45 Add Stories button at the bottom. 2025-08-01 18:24:12 +04:00
John Preston
45ebf7b5c6 Use separate keys for add buttons. 2025-08-01 17:47:37 +04:00
John Preston
2ccdcf8a92 Fix bad closing of suggestions. 2025-08-01 17:44:42 +04:00
John Preston
88d9fd42c4 Submit album/collection title by Enter. 2025-08-01 17:29:56 +04:00
John Preston
6d81636d1e Improve switching stories albums. 2025-08-01 17:26:44 +04:00
John Preston
22fb456d13 Fix scrolling in SubTabs. 2025-08-01 16:42:37 +04:00
John Preston
62c9666013 Show star rating preview. 2025-08-01 16:13:27 +04:00
23rd
e1b2f940ad Fixed ability to reveal spoiler in title with login email pattern. 2025-08-01 16:09:13 +04:00
John Preston
d2c0ec12f3 Improve negative level display. 2025-08-01 15:20:36 +04:00
John Preston
61bdbdb5d6 Fix alignment of custom verification. 2025-08-01 15:03:14 +04:00
John Preston
a28ca46460 Improve rating level design. 2025-08-01 14:48:05 +04:00
John Preston
719179c1c2 Version 6.0.1.
- Fix crashing on Windows 7.
2025-08-01 11:47:00 +04:00
John Preston
1851e0c02d Show correct empty global search results. 2025-08-01 11:47:00 +04:00
John Preston
5d7ae16b4a Try fixing working on Windows 7. 2025-08-01 11:27:53 +04:00
GitHub Action
3bb8cb52f8 Update User-Agent for DNS to Chrome 138.0.0.0. 2025-08-01 11:27:43 +04:00
John Preston
3d4d3b000e Version 6.0.
- Public Post Search.
- Story Albums.
- Gift Collections.
- Profile Rating.
2025-08-01 00:15:34 +04:00
John Preston
e3e97db101 Fix build with GCC. 2025-08-01 00:15:34 +04:00
John Preston
057b8d9e74 Fix build with Xcode. 2025-07-31 23:00:18 +04:00
John Preston
003e42a2ae Show nice info about star rating. 2025-07-31 22:20:19 +04:00
23rd
baf932dd8b Fixed support of covers for documents in dialogs message preview. 2025-07-31 22:20:19 +04:00
23rd
e2acab67e1 Fixed support of covers for documents in pinned bar and reply bar. 2025-07-31 22:20:19 +04:00
23rd
095b171db3 Added highlighting of domain part in hidden urls to confirm box. 2025-07-31 22:20:19 +04:00
23rd
9d36d7119b Added special param to links for peers to resolve them in new window. 2025-07-31 22:20:19 +04:00
John Preston
507bcbd332 Show nice global posts search button. 2025-07-31 22:20:19 +04:00
John Preston
71a15b7202 Implement global post search load-more. 2025-07-31 22:20:19 +04:00
John Preston
1718a123e8 Add NEW badge to global posts search. 2025-07-31 22:20:19 +04:00
John Preston
b5c1046dca Implement paid global search requests. 2025-07-31 22:20:19 +04:00
John Preston
608481df38 Fix build in the next version of MSVC. 2025-07-31 22:20:19 +04:00
John Preston
4aab5da7ae Initial global posts search implementation. 2025-07-31 22:20:18 +04:00
John Preston
79650cf318 Support collection links. 2025-07-31 22:20:18 +04:00
John Preston
170544f68d Allow switch resale display to TON. 2025-07-31 22:20:18 +04:00
John Preston
9bc26b0068 Show correct price in gifts list. 2025-07-31 22:20:18 +04:00
John Preston
9765319027 Allow choosing Stars/TON payment. 2025-07-31 22:20:18 +04:00
John Preston
3b1c7dc5e1 Allow buying gifts resold for TONs. 2025-07-31 22:20:18 +04:00
John Preston
2a50d0856b Show correct price in resale box. 2025-07-31 22:20:18 +04:00
John Preston
23c0fcada6 Show TON icon in resale gifts. 2025-07-31 22:20:18 +04:00
John Preston
aa499eab61 Allow settings gift price in TON. 2025-07-31 22:20:18 +04:00
John Preston
985324ac12 Support story album links. 2025-07-31 22:20:18 +04:00
John Preston
3c89907403 Fix last-seen-when button position. 2025-07-31 22:20:18 +04:00
John Preston
953487bb65 Display hidden state in story albums. 2025-07-31 22:20:18 +04:00
John Preston
677891d0ff Allow arbitrary order in story albums. 2025-07-31 22:20:18 +04:00
John Preston
8d2a7b00dc Implement story album management. 2025-07-31 22:20:18 +04:00
John Preston
d4d4f3c082 Switch between story albums. 2025-07-31 22:20:18 +04:00
John Preston
c26e8a69ca Add object_ptr::get. 2025-07-31 22:20:18 +04:00
John Preston
1c251a308a Allow loading stories in different albums. 2025-07-31 22:20:18 +04:00
John Preston
c8015898ff Update API scheme on layer 211. 2025-07-31 22:20:18 +04:00
John Preston
a1e36594c2 Allow creating albums of stories. 2025-07-31 22:20:18 +04:00
John Preston
043bc754ae Update API scheme to layer 211. 2025-07-31 22:20:17 +04:00
Ilya Fedin
472d9dd467 Rely on mesa-2404 libraries 2025-07-29 20:37:54 +04:00
Ilya Fedin
f6a3662b0e Remove LD_LIBRARY_PATH from snap
It's not needed since Qt is linked statically
2025-07-29 20:37:54 +04:00
Ilya Fedin
fb777d0c3a Another attempt to fix png theme icon ordering 2025-07-29 20:37:54 +04:00
John Preston
2a3ee968ff Fix png theme icon ordering.
Hopefully fixes #29332.
2025-07-29 14:24:54 +04:00
Ilya Fedin
0b2661ad45 Use $CRAFT_PROJECT_NAME more for consistency 2025-07-29 06:49:12 +04:00
John Preston
d458748a7a Version 5.16.6.
- Fix bad layout in box buttons.
- Fix several problems in gift collections.
2025-07-25 21:20:56 +04:00
John Preston
7f346ef606 Improve gift collections preloading. 2025-07-25 21:18:06 +04:00
John Preston
ca544dbbae Fix glitch in chats search without animations. 2025-07-25 21:15:49 +04:00
John Preston
5704a07b68 Animated scroll to activated tab. 2025-07-25 21:15:47 +04:00
John Preston
5b1739246d Correctly handle gift collection updates. 2025-07-25 21:15:36 +04:00
John Preston
8ead33bc59 Fix check on new gift collection name. 2025-07-25 17:41:57 +04:00
John Preston
2f3792a3ee Fix emoji status details display. 2025-07-25 17:41:56 +04:00
John Preston
86d306632d Fix possible crash in stories state restore. 2025-07-25 17:41:55 +04:00
John Preston
cc79c2cb49 Use separate lang key for All Gifts collection. 2025-07-25 17:41:54 +04:00
John Preston
26b3b13bc4 Fix edit gift collection name box. 2025-07-25 17:41:54 +04:00
John Preston
bc20e65aae Support Ctrl+Shift+V "Paste as Plain Text". 2025-07-25 17:41:53 +04:00
John Preston
d458bf6be3 Fix possible negative folder counters. 2025-07-25 17:41:52 +04:00
John Preston
58375f06e5 Fix buttons in non-wide-button boxes. 2025-07-25 17:41:29 +04:00
Ilya Fedin
cd39853dc8 Never use LLD with non-Debug build types 2025-07-25 14:36:50 +04:00
John Preston
c94a44aeb8 Fix possible crash in gift sending. 2025-07-25 11:38:25 +04:00
John Preston
237d7c1ec1 Version 5.16.5.
- Age verification support.
2025-07-25 10:21:47 +04:00
John Preston
a80b67fdc9 Fix build with GCC. 2025-07-25 10:21:47 +04:00
John Preston
de44c57ada Allow editing collection from three dots. 2025-07-25 10:21:47 +04:00
John Preston
448356f534 Allow editing/deleting collections. 2025-07-25 10:21:47 +04:00
John Preston
2b16b0fc7c Fix gifts display when can't manage. 2025-07-25 10:21:47 +04:00
John Preston
22515c8c29 Support gift collections editing. 2025-07-25 10:21:46 +04:00
John Preston
bf050a2d5e Don't mark existing gifts as "sold out". 2025-07-25 10:21:46 +04:00
John Preston
74065714cb Fix padding for gifts list. 2025-07-25 10:21:46 +04:00
John Preston
b95a39dc10 Remove swipe navigation from SubTabs. 2025-07-25 10:21:46 +04:00
John Preston
bcdd202ef9 Fix build with Xcode. 2025-07-25 10:21:46 +04:00
John Preston
20ce2ead75 Take rating info url from appConfig. 2025-07-25 10:21:46 +04:00
John Preston
a81b9344cf Update API scheme on layer 210. 2025-07-25 10:21:46 +04:00
John Preston
a7fe004344 Load collections, request gifts in them. 2025-07-25 10:21:46 +04:00
John Preston
66e8f9865a Started gift collections. 2025-07-25 10:21:46 +04:00
John Preston
1cb4413869 Lang pack rating / premium gift features. 2025-07-25 10:21:46 +04:00
John Preston
be6dbefe7c Show premium badge on gifts. 2025-07-25 10:21:46 +04:00
John Preston
f655297052 Show stars rating tooltips. 2025-07-25 10:21:46 +04:00
John Preston
232c797507 Show stars rating bar. 2025-07-25 10:21:46 +04:00
John Preston
25d4a9c7a6 Parse current stars rating values. 2025-07-25 10:21:46 +04:00
John Preston
65e3111e35 Use real cloud lang. 2025-07-24 08:56:13 +04:00
John Preston
048d995922 Add weak_qptr to stdafx.h 2025-07-24 08:56:13 +04:00
John Preston
dcac27e072 Make sure colors are ready for webview. 2025-07-23 11:41:03 +04:00
John Preston
b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston
321c7120df Censor 18+ marked stickers as well. 2025-07-23 11:40:37 +04:00
John Preston
4b85c9e2df Add spoilers to shared GIFs. 2025-07-23 11:40:37 +04:00
John Preston
62aec34507 Fix crash in official verify age bot open. 2025-07-23 11:40:37 +04:00
John Preston
427487c598 Verify age in sensitive toggle settings. 2025-07-23 11:40:37 +04:00
John Preston
ccb8c43961 Support age verification for sensitive media. 2025-07-23 11:40:37 +04:00
John Preston
fee892f9a2 Call completionHandler if open panel was cancelled. 2025-07-23 11:40:37 +04:00
John Preston
9b990728f6 Update API scheme to layer 210. 2025-07-23 11:40:37 +04:00
John Preston
9b490c9552 Fix unrelated stories on top. 2025-07-23 11:40:37 +04:00
23rd
133effef0e Added sound notification when recording of group call is started. 2025-07-23 11:40:37 +04:00
23rd
15706a7af8 Fixed ability to use PageDown/PageUp in section for pinned messages. 2025-07-23 11:40:36 +04:00
23rd
2a15faf12e Fixed incorrect display of no-chats label in dialogs while search mode. 2025-07-23 11:40:36 +04:00
23rd
9149792846 Aligned collapsed rows for folders to main menu button. 2025-07-23 11:40:36 +04:00
23rd
c90c53c878 Aligned first tab of slider in dialogs widget to main menu button. 2025-07-23 11:40:36 +04:00
23rd
e6387738ce Slightly improved style of top bar suggestions. 2025-07-23 11:40:36 +04:00
23rd
3882690ee1 Removed transcribe button from voice and round messages in admin log. 2025-07-23 11:40:36 +04:00
Ilya Fedin
4c049d0d75 Use Windows SDK version specified in build instruction 2025-07-22 15:37:59 +04:00
Ilya Fedin
e070af3163 Limit malloc_trim to once per second 2025-07-21 07:51:48 +04:00
Ilya Fedin
1c35a91d13 Remove -s where unneeded in snap
This has no sense with static libraries
2025-07-18 09:34:07 +04:00
Ilya Fedin
4c20e79d1f Update rnnoise to 0.2 in snap 2025-07-18 09:34:07 +04:00
Ilya Fedin
669f46d6a1 Try to fix snap build on armhf 2025-07-18 09:34:07 +04:00
Ilya Fedin
ea89a9f706 Free more disk space in snap action 2025-07-16 10:45:24 +04:00
Ilya Fedin
918985449b Self-build avif in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin
18ab93a9f6 Self-build openal in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin
a6a8363527 Self-build ffmpeg in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin
90edb0903d Use only jpegli from self-built libjxl in snap 2025-07-16 10:45:24 +04:00
Ilya Fedin
ba1274ff3a Build all deps statically in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin
60f91bff50 Stop priming static libs completely in snap 2025-07-16 10:45:24 +04:00
Ilya Fedin
ef2e9406c7 Move packages to a separate snap part 2025-07-16 10:45:24 +04:00
Ilya Fedin
3d6783597f Optimize geoclue dependency in snap
It depends on entire daemon and brings unneeded dependencies that make the package way bigger
2025-07-16 10:45:24 +04:00
Ilya Fedin
7cab32f71b Switch snap to the gnome extension 2025-07-16 10:45:24 +04:00
Ilya Fedin
78a72b42b0 Don't stage unused boost-regex shared library in snap 2025-07-16 10:45:24 +04:00
John Preston
0514f13af0 Version 5.16.4.
- Fix problem with negative unread counters.
- Fix stars values display in statistics.
- Fix crash in messages fee disabling.
2025-07-14 20:51:13 +04:00
John Preston
e6a6763228 Fix build with GCC. 2025-07-14 20:51:13 +04:00
23rd
38c74bf2cf Added lottie icon and button to dialogs widget when dialogs are empty. 2025-07-14 19:42:17 +04:00
John Preston
a770e47575 Fix build with Xcode. 2025-07-14 19:07:05 +04:00
John Preston
c998352ab7 Possibly fix a crash in subsection tabs.
Fixes #29550.
2025-07-14 18:30:59 +04:00
John Preston
3683fa3814 Remove paid message service info in groups. 2025-07-14 17:40:30 +04:00
John Preston
e62881e08b Fix blocking users in channel direct messages.
Fixes #29549.
2025-07-14 17:15:25 +04:00
John Preston
01e313e56b Fix crash after deleting sublist.
Fixes #29548.
2025-07-14 15:40:14 +04:00
John Preston
2dd5f80468 Allow transferring gifts to channels. 2025-07-14 14:29:31 +04:00
John Preston
275fb3e96a Fix actions for converted gifts. 2025-07-14 14:24:41 +04:00
John Preston
3463916b9b De-duplicate icon for checklist task adding. 2025-07-14 14:24:08 +04:00
John Preston
a20de2515a Fix text-send permissions in groups.
Fixes #29546.
2025-07-14 13:58:38 +04:00
John Preston
79ea992a0f Suggest relevant min price for gift resale. 2025-07-14 13:28:57 +04:00
John Preston
0132436dc8 Move the NEW badge to gifts (market). 2025-07-14 11:29:57 +04:00
John Preston
a285c1abec Fix unsupported filtering in monoforum export.
Fixes #29545.
2025-07-14 11:21:14 +04:00
John Preston
1c41e01f0d Update API scheme to layer 209. 2025-07-14 09:54:04 +04:00
John Preston
f2e53ea490 Try scrolling to the task on jump. 2025-07-11 19:26:01 +04:00
John Preston
bff86b90fb Highlight tasks from reply/service messages. 2025-07-11 19:26:01 +04:00
John Preston
b5c9b6f552 Make and display replies to tasks. 2025-07-11 19:26:01 +04:00
John Preston
23f5102f1b Update API scheme to layer 208. 2025-07-11 19:26:01 +04:00
John Preston
bf51e911b8 Fix unread counters with monoforums.
Fixes #29544.
2025-07-11 19:26:00 +04:00
John Preston
4039d7ab71 Update tgcalls. 2025-07-11 19:26:00 +04:00
John Preston
77a09a0e59 Fix some search options. 2025-07-11 19:26:00 +04:00
John Preston
154c777788 Improve formatting for some strange cases. 2025-07-11 19:26:00 +04:00
John Preston
628c36c87d Fix crash in the private fee disable. 2025-07-11 19:26:00 +04:00
John Preston
a746b7abcf Fix reactions in media-only service messages.
Fixes #29543.
2025-07-11 19:26:00 +04:00
John Preston
64184e6c90 Support controls on sponsored in video. 2025-07-11 19:26:00 +04:00
John Preston
ecc955d2ce Show sponsored messages in video. 2025-07-11 19:26:00 +04:00
John Preston
f7e1b2c70c Fix build with QT_VERSION_MAJOR provided. 2025-07-11 19:26:00 +04:00
John Preston
284cbda7c0 Track shown sponsored in video. 2025-07-11 19:26:00 +04:00
John Preston
e5ca9e4c39 Ability to request video ads. 2025-07-11 19:26:00 +04:00
John Preston
02aaa71e78 Fix updating sublist chats in Saved Messages.
Fixes #29448.
2025-07-11 19:26:00 +04:00
John Preston
6afd4dcdd1 Fix stats values display. 2025-07-09 09:33:50 +04:00
23rd
52bb189996 Fixed possible crash when paste invalid proxy link to proxy box. 2025-07-09 09:33:50 +04:00
John Preston
8ff6f9af45 Remove unused DELAYLOAD. 2025-07-08 23:24:48 +04:00
John Preston
36bb1d0cf3 Version 5.16.3.
- Allow removing / charging fee in channel direct messages.
- Don't offer creating checklists in channels.
- Support author channel in gifts.
2025-07-08 22:44:40 +04:00
John Preston
c7c8e39e20 Fix build with Xcode. 2025-07-08 22:44:40 +04:00
John Preston
8e9630459b Add session_id to mtproto logs. 2025-07-08 21:32:49 +04:00
Ilya Fedin
1c53fca925 Remove unused yasm dependency from snap 2025-07-08 20:38:51 +04:00
Ilya Fedin
7d78de0673 Get rid of QT_GENERATE_SBOM=OFF 2025-07-08 20:38:51 +04:00
John Preston
f8acc55365 Remove checklist creation in broadcasts. 2025-07-08 20:29:44 +04:00
John Preston
c3157fe90d Fix incorrect dc for stars revenue requests. 2025-07-08 20:29:43 +04:00
John Preston
35b129287b Support RemoveFee/ChargeFee in monoforums. 2025-07-08 20:29:43 +04:00
John Preston
d05155a403 Show who released the gift. 2025-07-08 20:29:43 +04:00
John Preston
f0aca45b11 Update API scheme on layer 207. 2025-07-04 21:31:20 +04:00
John Preston
d205e3b4a3 Version 5.16.2.
- Fix crash in some checklists.
- Fix problems with some private chats message sending.
- Fix chats list preview for rejected/balance-low suggestions.
2025-07-04 20:23:44 +04:00
John Preston
8b40a77297 Fix build. 2025-07-04 20:23:37 +04:00
John Preston
a7e87cc722 Try reducing self userFull requests. 2025-07-04 17:57:37 +04:00
John Preston
09f106bd49 Remove .00 from credits amount. 2025-07-04 17:57:35 +04:00
John Preston
8a0869fb75 Fix phrases for rejected/failed suggestion. 2025-07-04 17:56:35 +04:00
John Preston
7ccf26310d Fix spoilers in todo lists. 2025-07-04 17:51:02 +04:00
23rd
e1420ba26c Decreased size of ministars for buttons in media for history view. 2025-07-04 09:46:09 +03:00
23rd
c693c9cd44 Fixed history list of earn channel for currency. 2025-07-03 22:13:38 +03:00
GitHub Action
e698557092 Update User-Agent for DNS to Chrome 137.0.0.0. 2025-07-03 17:46:26 +04:00
John Preston
1238c90450 Fix crash in Todo Lists. 2025-07-03 13:52:54 +04:00
John Preston
e991dca5a0 Version 5.16.1.
- Fix inline keyboard updating in bot messages.
- Fix possible crash in fast chat switching.
- Different minor fixes.
2025-07-02 17:32:50 +04:00
23rd
37093c9f33 Slightly improved mini stars for button in history view premium gifts. 2025-07-02 17:32:50 +04:00
John Preston
1dd4f62ece Fix editing direct message prices. 2025-07-02 17:32:50 +04:00
Ilya Fedin
9ec27aad53 Update patches 2025-07-02 17:24:38 +04:00
Ilya Fedin
f1d3a946d5 Get rid of libtgvoip leftovers 2025-07-02 17:24:38 +04:00
John Preston
fd24f7045e Fix editing price per message. 2025-07-02 12:36:07 +04:00
John Preston
33671e7737 Save correct starsPerMessage for admins. 2025-07-02 12:04:29 +04:00
John Preston
13ecc6a56b Use separate phrase for Update Time. 2025-07-02 12:04:01 +04:00
23rd
20815eecbc Fixed request of recent gifts only when peer has gifts. 2025-07-02 10:18:22 +03:00
23rd
f2f5ffd861 Moved out Type of ministars from class to separated enum class. 2025-07-02 10:18:22 +03:00
John Preston
b0971601b1 Add distinct item for Poll in menu. 2025-07-02 11:15:48 +04:00
23rd
7253d764d2 Guarded requests of recent gifts for button from shared media section. 2025-07-02 11:05:48 +04:00
23rd
71f3a1f7cf Fixed wrong duplicated gifts in button from shared media section. 2025-07-02 11:05:41 +04:00
John Preston
950659b29d Fix aggregate checklists updates. 2025-07-02 10:57:20 +04:00
John Preston
b4392d0e3c Update cmake submodule. 2025-07-02 10:27:14 +04:00
John Preston
4571302642 Fix usd values in stats. 2025-07-02 10:08:12 +04:00
Ilya Fedin
5121f04d66 Remove jemalloc 2025-07-02 09:38:24 +04:00
Ilya Fedin
77642d2876 Limit the amount of malloc arenas and call malloc_trim periodically with glibc
To prevent excessive memory usage looking like memory leak
2025-07-02 09:38:24 +04:00
John Preston
ef69796798 Fix bot buttons refresh. 2025-07-02 07:20:51 +04:00
801 changed files with 37709 additions and 9902 deletions

View File

@@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone.
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive

View File

@@ -59,7 +59,7 @@ jobs:
steps:
- name: Clone.
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive

View File

@@ -40,7 +40,7 @@ jobs:
macos:
name: MacOS
runs-on: macos-13
runs-on: macos-15-intel
strategy:
matrix:
@@ -56,7 +56,7 @@ jobs:
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive
path: ${{ env.REPO_NAME }}

View File

@@ -60,7 +60,7 @@ jobs:
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
@@ -69,7 +69,7 @@ jobs:
run: |
brew update
brew upgrade || true
brew install ada-url autoconf automake boost cmake ffmpeg jpeg-xl libavif libheif libtool openal-soft openh264 openssl opus ninja pkg-config python qt yasm xz
brew install ada-url autoconf automake boost cmake ffmpeg@6 jpeg-xl libavif libheif libtool openal-soft openh264 openssl opus ninja pkg-config python qt yasm xz
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
xcodebuild -version > CACHE_KEY.txt
@@ -82,6 +82,7 @@ jobs:
fi
echo "CACHE_KEY=`md5 -q CACHE_KEY.txt`" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(grep 'set(QT_SUPPORTED_MIN_MACOS_VERSION' /opt/homebrew/Cellar/qt/6.9.2/lib/cmake/Qt6/Qt6ConfigExtras.cmake | sed -E 's/^.*"(.*)"\)$/\1/')" >> $GITHUB_ENV
echo "LibrariesPath=`pwd`" >> $GITHUB_ENV
curl -o tg_owt-version.json https://api.github.com/repos/desktop-app/tg_owt/git/refs/heads/master

View File

@@ -5,33 +5,9 @@ on:
types: released
jobs:
updater:
User-agent:
runs-on: ubuntu-latest
env:
SKIP: "0"
to_branch: "master"
steps:
- uses: actions/checkout@v4
- uses: desktop-app/action_code_updater@master
with:
fetch-depth: 0
if: env.SKIP == '0'
- name: Push the code to the master branch.
if: env.SKIP == '0'
run: |
token=${{ secrets.TOKEN_FOR_MASTER_UPDATER }}
if [ -z "${token}" ]; then
echo "Token is unset. Nothing to do."
exit 0
fi
url=https://x-access-token:$token@github.com/$GITHUB_REPOSITORY
latest_tag=$(git describe --tags --abbrev=0)
echo "Latest tag: $latest_tag"
git remote set-url origin $url
git remote -v
git checkout master
git merge $latest_tag
git push origin HEAD:refs/heads/$to_branch
echo "Done!"
type: "dev-to-master"

View File

@@ -47,7 +47,7 @@ jobs:
steps:
- name: Clone.
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
@@ -61,7 +61,16 @@ jobs:
sudo lxd waitready
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
uses: endersonmenezes/free-disk-space@713d134e243b926eba4a5cce0cf608bfd1efb89a
with:
remove_android: true
remove_dotnet: true
remove_haskell: true
remove_tool_cache: true
remove_swap: true
remove_packages: "azure-cli google-cloud-cli microsoft-edge-stable google-chrome-stable firefox postgresql* temurin-* *llvm* mysql* dotnet-sdk-*"
remove_packages_one_command: true
remove_folders: "/usr/share/swift /usr/share/miniconda /usr/share/az* /usr/share/glade* /usr/local/lib/node_modules /usr/local/share/chromium /usr/local/share/powershell"
- name: Telegram Desktop snap build.
run: sudo -u $USER snap run snapcraft --verbosity=debug

View File

@@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v10
with:
stale-issue-message: |
Hey there!

View File

@@ -6,8 +6,6 @@ on:
schedule:
# At 00:00 on day-of-month 1.
- cron: "0 0 1 * *"
pull_request_target:
types: [closed]
jobs:
User-agent:

View File

@@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-win*.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -23,6 +24,7 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-win*.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -69,26 +71,34 @@ jobs:
shell: bash
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- uses: ilammy/msvc-dev-cmd@v1.13.0
name: Native Tools Command Prompt.
with:
arch: ${{ matrix.arch }}
- name: Clone.
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
- name: Set up environment paths.
- name: First set up.
shell: bash
run: |
echo "CACHE_KEY=$(sha256sum $TBUILD/$REPO_NAME/$PREPARE_PATH | awk '{ print $1 }')" >> $GITHUB_ENV
DOCPATH=$TBUILD/$REPO_NAME/docs/building-win.md
[ "${{ matrix.arch }}" != Win32 ] && DOCPATH=$TBUILD/$REPO_NAME/docs/building-win-${{ matrix.arch }}.md
SDK="$(grep "SDK version" $DOCPATH | sed -r 's/.*\*\*(.*)\*\* SDK version.*/\1/')"
echo "SDK=$SDK" >> $GITHUB_ENV
echo "$(sha256sum $TBUILD/$REPO_NAME/$PREPARE_PATH | awk '{ print $1 }')" >> CACHE_KEY.txt
echo "$SDK" >> CACHE_KEY.txt
echo "CACHE_KEY=$(sha256sum CACHE_KEY.txt | awk '{ print $1 }')" >> $GITHUB_ENV
echo "Configurate git for cherry-picks."
git config --global user.email "you@example.com"
git config --global user.name "Sample"
- uses: ilammy/msvc-dev-cmd@v1.13.0
name: Native Tools Command Prompt.
with:
arch: ${{ matrix.arch }}
sdk: ${{ env.SDK }}
- name: NuGet sources.
run: |
nuget sources Disable -Name "Microsoft Visual Studio Offline Packages"

11
.gitignore vendored
View File

@@ -53,3 +53,14 @@ stage
*.*~
.idea/
cmake-build-debug/
# Local configuration files
settings.local.json
*.local.json
.env
.env.local
.env.*.local
# Cursor IDE local settings (but keep .cursor/rules/)
.cursor/*
!.cursor/rules/

6
.gitmodules vendored
View File

@@ -1,6 +1,3 @@
[submodule "Telegram/ThirdParty/libtgvoip"]
path = Telegram/ThirdParty/libtgvoip
url = https://github.com/telegramdesktop/libtgvoip
[submodule "Telegram/ThirdParty/GSL"]
path = Telegram/ThirdParty/GSL
url = https://github.com/Microsoft/GSL.git
@@ -76,9 +73,6 @@
[submodule "Telegram/lib_webview"]
path = Telegram/lib_webview
url = https://github.com/desktop-app/lib_webview.git
[submodule "Telegram/ThirdParty/jemalloc"]
path = Telegram/ThirdParty/jemalloc
url = https://github.com/jemalloc/jemalloc
[submodule "Telegram/ThirdParty/dispatch"]
path = Telegram/ThirdParty/dispatch
url = https://github.com/apple/swift-corelibs-libdispatch

View File

@@ -45,7 +45,7 @@ Version **1.8.15** was the last that supports older systems
* Qt 6 ([LGPL](http://doc.qt.io/qt-6/lgpl.html)) and Qt 5.15 ([LGPL](http://doc.qt.io/qt-5/lgpl.html)) slightly patched
* OpenSSL 3.2.1 ([Apache License 2.0](https://www.openssl.org/source/apache-license-2.0.txt))
* WebRTC ([New BSD License](https://github.com/desktop-app/tg_owt/blob/master/LICENSE))
* zlib 1.2.11 ([zlib License](http://www.zlib.net/zlib_license.html))
* zlib ([zlib License](http://www.zlib.net/zlib_license.html))
* LZMA SDK 9.20 ([public domain](http://www.7-zip.org/sdk.html))
* liblzma ([public domain](http://tukaani.org/xz/))
* Google Breakpad ([License](https://chromium.googlesource.com/breakpad/breakpad/+/master/LICENSE))

View File

@@ -35,7 +35,7 @@ include(cmake/td_mtproto.cmake)
include(cmake/td_scheme.cmake)
include(cmake/td_tde2e.cmake)
include(cmake/td_ui.cmake)
include(cmake/generate_appdata_changelog.cmake)
include(cmake/generate_appstream_changelog.cmake)
if (DESKTOP_APP_TEST_APPS)
include(cmake/tests.cmake)
@@ -53,9 +53,7 @@ set_target_properties(Telegram PROPERTIES AUTOMOC ON)
target_link_libraries(Telegram
PRIVATE
# tdesktop::lib_tgcalls_legacy
tdesktop::lib_tgcalls
# tdesktop::lib_tgvoip
# Order in this list defines the order of include paths in command line.
# We need to place desktop-app::external_minizip this early to have its
@@ -365,6 +363,14 @@ PRIVATE
calls/group/calls_group_members_row.h
calls/group/calls_group_menu.cpp
calls/group/calls_group_menu.h
calls/group/calls_group_message_encryption.cpp
calls/group/calls_group_message_encryption.h
calls/group/calls_group_message_field.cpp
calls/group/calls_group_message_field.h
calls/group/calls_group_messages.cpp
calls/group/calls_group_messages.h
calls/group/calls_group_messages_ui.cpp
calls/group/calls_group_messages_ui.h
calls/group/calls_group_panel.cpp
calls/group/calls_group_panel.h
calls/group/calls_group_rtmp.cpp
@@ -525,6 +531,8 @@ PRIVATE
data/notify/data_notify_settings.h
data/notify/data_peer_notify_settings.cpp
data/notify/data_peer_notify_settings.h
data/notify/data_peer_notify_volume.cpp
data/notify/data_peer_notify_volume.h
data/stickers/data_custom_emoji.cpp
data/stickers/data_custom_emoji.h
data/stickers/data_stickers_set.cpp
@@ -614,6 +622,7 @@ PRIVATE
data/data_peer_bot_command.h
data/data_peer_bot_commands.cpp
data/data_peer_bot_commands.h
data/data_peer_common.h
data/data_peer_id.cpp
data/data_peer_id.h
data/data_peer_values.cpp
@@ -635,6 +644,8 @@ PRIVATE
data/data_report.h
data/data_saved_messages.cpp
data/data_saved_messages.h
data/data_saved_music.cpp
data/data_saved_music.h
data/data_saved_sublist.cpp
data/data_saved_sublist.h
data/data_search_controller.cpp
@@ -647,6 +658,7 @@ PRIVATE
data/data_shared_media.h
data/data_sparse_ids.cpp
data/data_sparse_ids.h
data/data_star_gift.cpp
data/data_star_gift.h
data/data_statistics.h
data/data_stories.cpp
@@ -709,6 +721,8 @@ PRIVATE
dialogs/dialogs_search_from_controllers.h
dialogs/dialogs_search_tags.cpp
dialogs/dialogs_search_tags.h
dialogs/dialogs_search_posts.cpp
dialogs/dialogs_search_posts.h
dialogs/dialogs_top_bar_suggestion.cpp
dialogs/dialogs_top_bar_suggestion.h
dialogs/dialogs_widget.cpp
@@ -769,6 +783,8 @@ PRIVATE
history/view/controls/history_view_voice_record_bar.h
history/view/controls/history_view_webpage_processor.cpp
history/view/controls/history_view_webpage_processor.h
history/view/media/history_view_birthday_suggestion.cpp
history/view/media/history_view_birthday_suggestion.h
history/view/media/history_view_call.cpp
history/view/media/history_view_call.h
history/view/media/history_view_contact.cpp
@@ -811,6 +827,8 @@ PRIVATE
history/view/media/history_view_poll.h
history/view/media/history_view_premium_gift.cpp
history/view/media/history_view_premium_gift.h
history/view/media/history_view_save_document_action.cpp
history/view/media/history_view_save_document_action.h
history/view/media/history_view_service_box.cpp
history/view/media/history_view_service_box.h
history/view/media/history_view_similar_channels.cpp
@@ -874,6 +892,8 @@ PRIVATE
history/view/history_view_fake_items.h
history/view/history_view_group_call_bar.cpp
history/view/history_view_group_call_bar.h
history/view/history_view_group_members_widget.cpp
history/view/history_view_group_members_widget.h
history/view/history_view_item_preview.h
history/view/history_view_list_widget.cpp
history/view/history_view_list_widget.h
@@ -898,6 +918,8 @@ PRIVATE
history/view/history_view_schedule_box.h
history/view/history_view_scheduled_section.cpp
history/view/history_view_scheduled_section.h
history/view/history_view_self_forwards_tagger.cpp
history/view/history_view_self_forwards_tagger.h
history/view/history_view_send_action.cpp
history/view/history_view_send_action.h
history/view/history_view_service_message.cpp
@@ -942,6 +964,8 @@ PRIVATE
history/history_inner_widget.h
history/history_location_manager.cpp
history/history_location_manager.h
history/history_streamed_drafts.cpp
history/history_streamed_drafts.h
history/history_translation.cpp
history/history_translation.h
history/history_unread_things.cpp
@@ -1008,6 +1032,8 @@ PRIVATE
info/media/info_media_widget.h
info/members/info_members_widget.cpp
info/members/info_members_widget.h
info/peer_gifts/info_peer_gifts_collections.cpp
info/peer_gifts/info_peer_gifts_collections.h
info/peer_gifts/info_peer_gifts_common.cpp
info/peer_gifts/info_peer_gifts_common.h
info/peer_gifts/info_peer_gifts_widget.cpp
@@ -1042,6 +1068,11 @@ PRIVATE
info/reactions_list/info_reactions_list_widget.h
info/requests_list/info_requests_list_widget.cpp
info/requests_list/info_requests_list_widget.h
info/saved/info_saved_music_common.h
info/saved/info_saved_music_provider.cpp
info/saved/info_saved_music_provider.h
info/saved/info_saved_music_widget.cpp
info/saved/info_saved_music_widget.h
info/saved/info_saved_sublists_widget.cpp
info/saved/info_saved_sublists_widget.h
info/settings/info_settings_widget.cpp
@@ -1058,6 +1089,9 @@ PRIVATE
info/statistics/info_statistics_tag.h
info/statistics/info_statistics_widget.cpp
info/statistics/info_statistics_widget.h
info/stories/info_stories_albums.cpp
info/stories/info_stories_albums.h
info/stories/info_stories_common.h
info/stories/info_stories_inner_widget.cpp
info/stories/info_stories_inner_widget.h
info/stories/info_stories_provider.cpp
@@ -1112,6 +1146,8 @@ PRIVATE
inline_bots/inline_results_widget.h
intro/intro_code.cpp
intro/intro_code.h
intro/intro_email.cpp
intro/intro_email.h
intro/intro_password_check.cpp
intro/intro_password_check.h
intro/intro_phone.cpp
@@ -1259,12 +1295,16 @@ PRIVATE
media/view/media_view_playback_controls.h
media/view/media_view_playback_progress.cpp
media/view/media_view_playback_progress.h
media/view/media_view_playback_sponsored.cpp
media/view/media_view_playback_sponsored.h
media/system_media_controls_manager.h
media/system_media_controls_manager.cpp
menu/menu_antispam_validator.cpp
menu/menu_antispam_validator.h
menu/menu_item_download_files.cpp
menu/menu_item_download_files.h
menu/menu_item_rate_transcribe_session.cpp
menu/menu_item_rate_transcribe_session.h
menu/menu_mute.cpp
menu/menu_mute.h
menu/menu_send.cpp
@@ -1298,6 +1338,8 @@ PRIVATE
mtproto/special_config_request.cpp
mtproto/special_config_request.h
mtproto/type_utils.h
overview/overview_checkbox.cpp
overview/overview_checkbox.h
overview/overview_layout.cpp
overview/overview_layout.h
overview/overview_layout_delegate.h
@@ -1418,10 +1460,6 @@ PRIVATE
platform/platform_window_title.h
profile/profile_back_button.cpp
profile/profile_back_button.h
profile/profile_block_group_members.cpp
profile/profile_block_group_members.h
profile/profile_block_peer_list.cpp
profile/profile_block_peer_list.h
profile/profile_block_widget.cpp
profile/profile_block_widget.h
profile/profile_cover_drop_area.cpp
@@ -1616,8 +1654,6 @@ PRIVATE
ui/text/format_song_document_name.h
ui/widgets/expandable_peer_list.cpp
ui/widgets/expandable_peer_list.h
ui/widgets/label_with_custom_emoji.cpp
ui/widgets/label_with_custom_emoji.h
ui/widgets/chat_filters_tabs_strip.cpp
ui/widgets/chat_filters_tabs_strip.h
ui/widgets/peer_bubble.cpp
@@ -1650,6 +1686,8 @@ PRIVATE
window/window_adaptive.h
window/window_chat_preview.cpp
window/window_chat_preview.h
window/window_chat_switch_process.cpp
window/window_chat_switch_process.h
window/window_connecting_widget.cpp
window/window_connecting_widget.h
window/window_controller.cpp
@@ -1771,6 +1809,8 @@ if (WIN32)
if (QT_VERSION LESS 6)
target_link_libraries(Telegram PRIVATE desktop-app::win_directx_helper)
endif()
target_link_options(Telegram PRIVATE /PDBPAGESIZE:8192)
elseif (APPLE)
if (NOT DESKTOP_APP_USE_PACKAGED)
target_link_libraries(Telegram PRIVATE desktop-app::external_iconv)
@@ -1989,7 +2029,7 @@ if (MSVC)
/DELAYLOAD:API-MS-Win-Core-ProcessThreads-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-Synch-l1-2-0.dll # Synchronization.lib
/DELAYLOAD:API-MS-Win-Core-SysInfo-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-Timezone-l1-1-0.dll
# /DELAYLOAD:API-MS-Win-Core-Timezone-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-WinRT-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-WinRT-Error-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-WinRT-String-l1-1-0.dll
@@ -2106,7 +2146,7 @@ if (LINUX AND DESKTOP_APP_USE_PACKAGED)
include(GNUInstallDirs)
configure_file("../lib/xdg/org.telegram.desktop.service" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.service" @ONLY)
configure_file("../lib/xdg/org.telegram.desktop.metainfo.xml" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml" @ONLY)
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml")
generate_appstream_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml")
install(TARGETS Telegram RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES "Resources/art/icon16.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps" RENAME "org.telegram.desktop.png")
install(FILES "Resources/art/icon32.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/32x32/apps" RENAME "org.telegram.desktop.png")

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Mini / mini_ton_bold</title>
<g id="Icon-/-Mini-/-mini_ton_bold" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12.5980305,2.7875 C13.2201476,2.7875 13.7244732,3.29182558 13.7244732,3.9139427 C13.7244732,4.11165014 13.6724374,4.30587532 13.5735947,4.47710133 L9.21676388,12.0244744 C8.80179975,12.7433201 7.88266529,12.9896647 7.16381961,12.5747006 C6.92829269,12.4387393 6.73407151,12.2414175 6.60185728,12.0037668 L2.40584723,4.46158062 C2.10339516,3.91793325 2.29892259,3.23203413 2.84256996,2.92958206 C3.01005587,2.83640316 3.19854713,2.7875 3.39020787,2.7875 L12.5980305,2.7875 Z M7.24956057,4.2875 L4.025,4.2875 L7.24956057,10.0835 L7.24956057,4.2875 Z M11.95,4.2875 L8.74956057,4.2875 L8.74956057,9.8255 L11.95,4.2875 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / new_topic</title>
<g id="Icon-/-Menu-/-new_topic" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12,3.15416667 C12.3865993,3.15416667 12.7,3.46756734 12.7,3.85416667 C12.7,4.24076599 12.3865993,4.55416667 12,4.55416667 L7.24826389,4.55416667 C5.76035508,4.55416667 4.55416667,5.76035508 4.55416667,7.24826389 L4.55416667,16.7517361 C4.55416667,18.2396449 5.76035508,19.4458333 7.24826389,19.4458333 L16.7517361,19.4458333 C18.2396449,19.4458333 19.4458333,18.2396449 19.4458333,16.7517361 L19.4458333,12 C19.4458333,11.6134007 19.759234,11.3 20.1458333,11.3 C20.5324327,11.3 20.8458333,11.6134007 20.8458333,12 L20.8458333,16.7517361 C20.8458333,19.0128436 19.0128436,20.8458333 16.7517361,20.8458333 L7.24826389,20.8458333 C4.98715643,20.8458333 3.15416667,19.0128436 3.15416667,16.7517361 L3.15416667,7.24826389 C3.15416667,4.98715643 4.98715643,3.15416667 7.24826389,3.15416667 L12,3.15416667 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M19.3511597,5.34872828 C20.2469248,6.24449337 20.2469248,7.69681554 19.3511597,8.59258064 L12.7489306,15.1948097 C12.4577752,15.4859651 12.0995331,15.7011118 11.7057162,15.8213249 L10.029497,16.3329929 C9.10119412,16.6163585 8.11894274,16.0935336 7.83557714,15.1652307 C7.71876473,14.7825544 7.73602986,14.3714738 7.88451862,13.99994 L8.70227653,11.9538276 C8.8286621,11.6375983 9.01800726,11.3503585 9.2588125,11.1095532 L15.5634724,4.80489335 C16.4592375,3.90912826 17.9115597,3.90912826 18.8073247,4.80489335 L19.3511597,5.34872828 Z M18.3612102,6.33867777 L17.8173753,5.79484285 C17.4683442,5.44581176 16.902453,5.44581176 16.5534219,5.79484285 L10.248762,12.0995027 C10.1421189,12.2061458 10.0582655,12.3333529 10.0022944,12.4733983 L9.18453646,14.5195106 C9.15433809,14.59507 9.15082685,14.678672 9.17458316,14.7564974 C9.23221162,14.9452877 9.43197346,15.0516153 9.62076372,14.9939869 L11.296983,14.4823189 C11.4713888,14.4290813 11.63004,14.3338014 11.7589811,14.2048602 L18.3612102,7.60263114 C18.7102413,7.25360006 18.7102413,6.68770886 18.3612102,6.33867777 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<polygon id="Path" fill="#FFFFFF" fill-rule="nonzero" points="15.5907211 6.54669192 17.5755336 8.53150439 16.5855841 9.52145388 14.6007716 7.53664141"></polygon>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level10_inner</title>
<g id="Badge-/-level10_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M23,15 L49,15 C53.418278,15 57,18.581722 57,23 L57,46.8429984 C57,48.7715399 55.8908719,50.5281562 54.1496679,51.357301 L37.2898007,59.3858092 C36.4738291,59.7743671 35.5261709,59.7743671 34.7101993,59.3858092 L17.8503321,51.357301 C16.1091281,50.5281562 15,48.7715399 15,46.8429984 L15,23 C15,18.581722 18.581722,15 23,15 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 714 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level1_inner</title>
<g id="Badge-/-level1_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M53,45 C54.6943359,39.9169922 55.1925159,32.4416725 54.49454,22.5740409 C54.2708931,19.4342396 51.6589867,17.0009114 48.5112305,17 L23.4887695,17 C20.3410133,17.0009114 17.7291069,19.4342396 17.50546,22.5740409 C16.8074841,32.4416725 17.3056641,39.9169922 19,45 C20.9999787,50.9999361 32.8055802,57.9438271 36.0181519,58.0000467 C39.2307237,58.0555136 50.70353,51.8894101 53,45 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 767 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level20_inner</title>
<g id="Badge-/-level20_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M17.5067188,13.1565216 L35.4932812,17.8672879 C35.8254913,17.9542953 36.1745087,17.9542953 36.5067188,17.8672879 L54.4932812,13.1565216 C55.5618111,12.8766685 56.6548914,13.5160174 56.9347444,14.5845472 C56.9780693,14.7499693 57,14.9202646 57,15.091266 L57,50 C57,53.8659932 53.8659932,57 50,57 L22,57 C18.1340068,57 15,53.8659932 15,50 L15,15.091266 C15,13.9866965 15.8954305,13.091266 17,13.091266 C17.1710014,13.091266 17.3412968,13.1131968 17.5067188,13.1565216 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 857 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level2_inner</title>
<g id="Badge-/-level2_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M28,15 L44,15 C51.1797017,15 57,20.8202983 57,28 L57,44 C57,51.1797017 51.1797017,57 44,57 L28,57 C20.8202983,57 15,51.1797017 15,44 L15,28 C15,20.8202983 20.8202983,15 28,15 Z" id="Rectangle" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 569 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level30_inner</title>
<g id="Badge-/-level30_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M17.5067188,13.1565216 L35.4932812,17.8672879 C35.8254913,17.9542953 36.1745087,17.9542953 36.5067188,17.8672879 L54.4932812,13.1565216 C55.5618111,12.8766685 56.6548914,13.5160174 56.9347444,14.5845472 C56.9780693,14.7499693 57,14.9202646 57,15.091266 L57,47.2740807 C57,49.2380496 55.850227,51.0201354 54.0608393,51.8296203 L37.2365036,59.4406293 C36.4505105,59.7961976 35.5494895,59.7961976 34.7634964,59.4406293 L17.9391607,51.8296203 C16.149773,51.0201354 15,49.2380496 15,47.2740807 L15,15.091266 C15,13.9866965 15.8954305,13.091266 17,13.091266 C17.1710014,13.091266 17.3412968,13.1131968 17.5067188,13.1565216 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1009 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level3_inner</title>
<g id="Badge-/-level3_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M35.8544323,16.5 C42.5603579,16.5 48.9772339,17.3142695 55.1127909,18.9403855 C57.8720367,19.6721748 59.5984053,22.4098874 59.0695564,25.2151096 L58.9161688,25.9952446 C57.6492744,32.2345248 55.3583898,38.2325914 52.0339947,44.0033008 C48.4623738,50.2031617 44.2319724,54.8983246 39.3449322,58.1412366 L38.808,58.49 L38.6366496,58.5935691 C37.0148548,59.5241021 35.0268922,59.5572143 33.3750071,58.6812087 L33.244,58.609 L33.1538672,58.5548802 C27.4610226,55.1837021 22.8566119,50.5438551 19.3062949,44.5841668 L18.9660053,44.0033008 C15.6094458,38.1767582 13.4677002,31.8512809 12.5350759,24.997545 C12.1766452,22.3675806 13.7646861,19.874921 16.2717218,19.0736995 L16.531,18.998 L17.3695077,18.774139 C22.9281007,17.3348182 28.7645985,16.5777965 34.8855941,16.5056926 L35.8544323,16.5 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level40_inner</title>
<g id="Badge-/-level40_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M13.8209245,17.0037365 L23.6412021,18.7573575 C24.5036156,18.9113599 25.3902576,18.6806984 26.0682874,18.1259467 L34.7335244,11.0362073 C35.4702562,10.4334268 36.5297438,10.4334268 37.2664756,11.0362073 L45.9317126,18.1259467 C46.6097424,18.6806984 47.4963844,18.9113599 48.3587979,18.7573575 L58.1790755,17.0037365 C59.2664441,16.8095635 60.3053389,17.5336417 60.4995119,18.6210104 C60.5408831,18.8526891 60.541039,19.0898514 60.4999724,19.3215843 L55.1703343,49.3959706 C54.4933325,53.2161951 51.17282,56 47.2930717,56 L24.7069283,56 C20.82718,56 17.5066675,53.2161951 16.8296657,49.3959706 L11.5000276,19.3215843 C11.3072843,18.2339613 12.0327276,17.1960193 13.1203506,17.003276 C13.3520835,16.9622094 13.5892458,16.9623653 13.8209245,17.0037365 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level4_inner</title>
<g id="Badge-/-level4_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M44.3705856,16.4672101 L55.5327899,27.6294144 C60.1557367,32.2523612 60.1557367,39.7476388 55.5327899,44.3705856 L44.3705856,55.5327899 C39.7476388,60.1557367 32.2523612,60.1557367 27.6294144,55.5327899 L16.4672101,44.3705856 C11.8442633,39.7476388 11.8442633,32.2523612 16.4672101,27.6294144 L27.6294144,16.4672101 C32.2523612,11.8442633 39.7476388,11.8442633 44.3705856,16.4672101 Z" id="Polygon" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 775 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level50_inner</title>
<g id="Badge-/-level50_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M13.8457992,17.0081784 L23.6412021,18.7573575 C24.5036156,18.9113599 25.3902576,18.6806984 26.0682874,18.1259467 L34.7335244,11.0362073 C35.4702562,10.4334268 36.5297438,10.4334268 37.2664756,11.0362073 L45.9317126,18.1259467 C46.6097424,18.6806984 47.4963844,18.9113599 48.3587979,18.7573575 L58.1542008,17.0081784 C59.2415694,16.8140055 60.2804642,17.5380836 60.4746372,18.6254523 C60.5169804,18.862574 60.516141,19.1053947 60.4721595,19.342218 L55.2572125,47.4227021 C54.7824054,49.9793556 53.0945991,52.1457247 50.731704,53.2313793 L37.6700007,59.2327024 C36.6099358,59.7197592 35.3900642,59.7197592 34.3299993,59.2327024 L21.268296,53.2313793 C18.9054009,52.1457247 17.2175946,49.9793556 16.7427875,47.4227021 L11.5278405,19.342218 C11.3261547,18.2562177 12.0430333,17.2123419 13.1290336,17.0106561 C13.3658569,16.9666746 13.6086775,16.9658353 13.8457992,17.0081784 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level5_inner</title>
<g id="Badge-/-level5_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M24.6347159,52.197233 L15.086894,45.3306104 C13.3626301,44.0905507 12.6070688,41.9044024 13.1995002,39.8696074 L16.4885503,28.5785206 L20.056184,18.2789734 C20.736028,16.3172234 22.5589494,14.9756983 24.6408724,14.9050076 L35.519949,14.536208 L46.4041369,14.5 C48.4875477,14.4932153 50.3596774,15.7663386 51.1123731,17.7018167 L55.0199245,27.7496763 C55.0516847,27.8313442 55.081291,27.9138273 55.1087132,27.9970407 L58.7486546,39.0425771 C59.4120036,41.0555339 58.7334828,43.2666211 57.0537084,44.5658775 L47.7086588,51.7944553 L39.3643082,58.4096688 C37.5845851,59.8205932 35.0761178,59.866608 33.245468,58.5219115 L24.6347159,52.197233 Z" id="Star-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level60_inner</title>
<g id="Badge-/-level60_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M25.1630277,52.850407 L17.8273486,50.8900353 C15.0747,50.1544232 13.4412291,47.3453418 14.1759196,44.6106697 L16.1338353,37.322897 C16.3667018,36.4561188 16.3667018,35.5438812 16.1338353,34.677103 L14.1759196,27.3893303 C13.4412291,24.6546582 15.0747,21.8455768 17.8273486,21.1099647 L25.1630277,19.149593 C26.0355037,18.9164343 26.8311982,18.4603155 27.4708076,17.826696 L32.848571,12.499295 C34.8665291,10.500235 38.1334709,10.500235 40.151429,12.499295 L45.5291924,17.826696 C46.1688018,18.4603155 46.9644963,18.9164343 47.8369723,19.149593 L55.1726514,21.1099647 C57.9253,21.8455768 59.5587709,24.6546582 58.8240804,27.3893303 L56.8661647,34.677103 C56.6332982,35.5438812 56.6332982,36.4561188 56.8661647,37.322897 L58.8240804,44.6106697 C59.5587709,47.3453418 57.9253,50.1544232 55.1726514,50.8900353 L47.8369723,52.850407 C46.9644963,53.0835657 46.1688018,53.5396845 45.5291924,54.173304 L40.151429,59.500705 C38.1334709,61.499765 34.8665291,61.499765 32.848571,59.500705 L27.4708076,54.173304 C26.8311982,53.5396845 26.0355037,53.0835657 25.1630277,52.850407 Z" id="Star-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level6_inner</title>
<g id="Badge-/-level6_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M56.5,27.2077494 L56.5,44.7922506 C56.5,46.727022 55.4750178,48.5148244 53.8111544,49.4822101 L38.6888456,58.2744607 C37.0249822,59.2418464 34.9750178,59.2418464 33.3111544,58.2744607 L18.1888456,49.4822101 C16.5249822,48.5148244 15.5,46.727022 15.5,44.7922506 L15.5,27.2077494 C15.5,25.272978 16.5249822,23.4851756 18.1888456,22.5177899 L33.3111544,13.7255393 C34.9750178,12.7581536 37.0249822,12.7581536 38.6888456,13.7255393 L53.8111544,22.5177899 C55.4750178,23.4851756 56.5,25.272978 56.5,27.2077494 Z" id="Polygon-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 902 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level70_inner</title>
<g id="Badge-/-level70_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M25.6231529,53.6849537 L20.2456512,53.1119864 C17.3639984,52.8049492 15.263688,50.1918606 15.5389909,47.256223 L16.0527382,41.7779796 C16.1648264,40.5827489 15.8804506,39.3837383 15.2449668,38.3721824 L12.332278,33.7357975 C10.7714495,31.2512883 11.4691887,27.9507327 13.8958667,26.3394648 L18.424332,23.3326503 C19.4123422,22.6766303 20.1560647,21.7027674 20.5368804,20.5663865 L22.2823186,15.3578763 C23.2176501,12.5667813 26.188027,11.0641444 28.9387422,11.9905637 L34.0718987,13.7193707 C35.1918391,14.0965579 36.4036217,14.0811813 37.5139749,13.6756934 L42.6031895,11.8171724 C45.3303573,10.821243 48.3366176,12.248041 49.3400252,15.0145349 L51.2125014,20.1771366 C51.621034,21.3035012 52.3883797,22.2581898 53.3921518,22.8889356 L57.9928604,25.779908 C60.4582516,27.3290994 61.2366199,30.6109243 59.7371336,33.1342664 L56.9389167,37.8431184 C56.3284081,38.870485 56.07349,40.0763388 56.2148201,41.2683538 L56.8625953,46.7318584 C57.20972,49.6595979 55.1740691,52.3251686 52.3008327,52.7052309 L46.9390371,53.4144716 C45.7692127,53.5692121 44.6839892,54.1181986 43.8564529,54.9738712 L40.0635069,58.8957776 C38.030973,60.9974176 34.7141896,61.0395051 32.6308086,58.9900928 L28.7429758,55.1656495 C27.8947373,54.3312412 26.7964039,53.8099624 25.6231529,53.6849537 Z" id="Star-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level7_inner</title>
<g id="Badge-/-level7_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M47.5119469,15.9725146 L56.9485165,28.1544765 C57.8703305,29.3444749 58.2101938,30.8974518 57.8718989,32.3737956 L54.4087892,47.487062 C54.0704943,48.9634057 53.0908608,50.2024337 51.7472,50.8534058 L37.9922031,57.5173789 C36.6485423,58.1683511 35.087096,58.1604167 33.7498732,57.4958219 L20.0607825,50.6923941 C18.7235597,50.0277993 17.7561016,48.7788774 17.4322729,47.2991691 L14.1172527,32.1514602 C13.793424,30.6717519 14.1484698,29.1223062 15.0818847,27.9417349 L24.637213,15.8562787 C25.570628,14.6757075 26.9808209,13.9925021 28.468599,14 L43.6989186,14.0774536 C45.1866968,14.0850136 46.5901329,14.7825162 47.5119469,15.9725146 Z" id="Polygon-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level80_inner</title>
<g id="Badge-/-level80_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M25.4075318,55.0983015 L20.6181753,54.4891523 C18.1878179,54.1800396 16.3367069,52.1599065 16.2405902,49.7118564 L16.0511788,44.887634 C16.0102196,43.84442 15.6446438,42.8400089 15.0054554,42.0145324 L12.0496025,38.1972124 C10.5496559,36.2601145 10.6691726,33.5227316 12.3322407,31.723734 L15.609547,28.1785595 C16.3182481,27.4119333 16.769973,26.4432062 16.9016985,25.4075318 L17.5108477,20.6181753 C17.8199604,18.1878179 19.8400935,16.3367069 22.2881436,16.2405902 L27.112366,16.0511788 C28.15558,16.0102196 29.1599911,15.6446438 29.9854676,15.0054554 L33.8027876,12.0496025 C35.7398855,10.5496559 38.4772684,10.6691726 40.276266,12.3322407 L43.8214405,15.609547 C44.5880667,16.3182481 45.5567938,16.769973 46.5924682,16.9016985 L51.3818247,17.5108477 C53.8121821,17.8199604 55.6632931,19.8400935 55.7594098,22.2881436 L55.9488212,27.112366 C55.9897804,28.15558 56.3553562,29.1599911 56.9945446,29.9854676 L59.9503975,33.8027876 C61.4503441,35.7398855 61.3308274,38.4772684 59.6677593,40.276266 L56.390453,43.8214405 C55.6817519,44.5880667 55.230027,45.5567938 55.0983015,46.5924682 L54.4891523,51.3818247 C54.1800396,53.8121821 52.1599065,55.6632931 49.7118564,55.7594098 L44.887634,55.9488212 C43.84442,55.9897804 42.8400089,56.3553562 42.0145324,56.9945446 L38.1972124,59.9503975 C36.2601145,61.4503441 33.5227316,61.3308274 31.723734,59.6677593 L28.1785595,56.390453 C27.4119333,55.6817519 26.4432062,55.230027 25.4075318,55.0983015 Z" id="Star" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level8_inner</title>
<g id="Badge-/-level8_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M27.9852814,15 L44.0147186,15 C45.6060176,15 47.132141,15.632141 48.2573593,16.7573593 L55.2426407,23.7426407 C56.367859,24.867859 57,26.3939824 57,27.9852814 L57,44.0147186 C57,45.6060176 56.367859,47.132141 55.2426407,48.2573593 L48.2573593,55.2426407 C47.132141,56.367859 45.6060176,57 44.0147186,57 L27.9852814,57 C26.3939824,57 24.867859,56.367859 23.7426407,55.2426407 L16.7573593,48.2573593 C15.632141,47.132141 15,45.6060176 15,44.0147186 L15,27.9852814 C15,26.3939824 15.632141,24.867859 16.7573593,23.7426407 L23.7426407,16.7573593 C24.867859,15.632141 26.3939824,15 27.9852814,15 Z" id="Rectangle" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 985 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level90_inner</title>
<g id="Badge-/-level90_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M15.8733536,45.5876663 L13.5374788,26.4767308 C13.2739231,24.3204523 14.4193524,22.2383675 16.3756386,21.3177141 L34.3082495,12.8783965 C35.3803169,12.3738678 36.6196831,12.3738678 37.6917505,12.8783965 L55.6243614,21.3177141 C57.5806476,22.2383675 58.7260769,24.3204523 58.4625212,26.4767308 L56.1266464,45.5876663 C55.9615284,46.9385772 55.2580965,48.1641245 54.1775745,48.9834175 L39.003776,60.4887707 C37.2255672,61.8370764 34.7744328,61.8370764 32.996224,60.4887707 L17.8224255,48.9834175 C16.7419035,48.1641245 16.0384716,46.9385772 15.8733536,45.5876663 Z" id="Diamond-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 960 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level9_inner</title>
<g id="Badge-/-level9_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<circle id="Oval" fill="#FFFFFF" cx="36" cy="36" r="21"></circle>
</g>
</svg>

After

Width:  |  Height:  |  Size: 410 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / Folder / filled_warning</title>
<g id="Icon-/-Filled-/-Folder-/-filled_warning" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M4.88979533,20 L19.1102047,20 C20.5643501,20 21.4708304,18.4289284 20.7437577,17.1777157 L13.633553,4.93840953 C12.9064803,3.68719682 11.0935197,3.68719682 10.366447,4.93840953 L3.25624234,17.1777157 C2.52916961,18.4289284 3.43564989,20 4.88979533,20 Z M12,9.51724138 C12.4659903,9.51724138 12.84375,9.89500112 12.84375,10.3609914 L12.84375,13.3631466 C12.84375,13.8291368 12.4659903,14.2068966 12,14.2068966 C11.5340097,14.2068966 11.15625,13.8291368 11.15625,13.3631466 L11.15625,10.3609914 C11.15625,9.89500112 11.5340097,9.51724138 12,9.51724138 Z M12.018319,17.1862069 L11.981681,17.1862069 C11.463676,17.1862069 11.04375,16.7662809 11.04375,16.2482759 C11.04375,15.7302709 11.463676,15.3103448 11.981681,15.3103448 L12.018319,15.3103448 C12.536324,15.3103448 12.95625,15.7302709 12.95625,16.2482759 C12.95625,16.7662809 12.536324,17.1862069 12.018319,17.1862069 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / Folder / filled_rating_crown</title>
<g id="Icon-/-Filled-/-Folder-/-filled_rating_crown" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12.006194,4 C12.2804747,4 12.5305167,4.06540388 12.7563199,4.19621163 C12.9821231,4.32701939 13.1625206,4.50276893 13.2975123,4.72346025 C13.4325041,4.94415157 13.5,5.18550018 13.5,5.44750606 C13.5,5.71705917 13.4325041,5.96227898 13.2975123,6.18316549 C13.1625206,6.404052 12.9821231,6.5799154 12.7563199,6.71075569 L15.4435899,11.5643277 C15.5815617,11.7639089 15.7563694,11.7899721 15.968013,11.6425174 L18.1781768,9.33989673 C18.0593923,9.13003568 18,8.89851056 18,8.64532138 C18,8.38325043 18.0675127,8.14188556 18.202538,7.92122677 C18.3375634,7.70056798 18.5179776,7.52481844 18.7437808,7.39397816 C18.969584,7.26313787 19.2198274,7.19771773 19.494511,7.19771773 C19.7726861,7.19771773 20.0256488,7.26313787 20.2533991,7.39397816 C20.4811495,7.52481844 20.6625206,7.69962458 20.7975123,7.91839656 C20.9325041,8.13716855 21,8.37947682 21,8.64532138 C21,8.91526486 20.9315305,9.16058227 20.7945916,9.38127359 C20.6576527,9.60196491 20.4753248,9.77771445 20.247608,9.90852221 C20.0847544,10.0020705 19.9099761,10.0621678 19.7232729,10.0888143 L18.6881679,14.8280591 L18.18147,17.2645439 C18.0360821,17.8406994 17.5858498,18.2705453 17.2433245,18.5609529 C16.9007991,18.8513606 16.024907,19 15.4030968,19 L8.60301533,19 C7.98112362,19 7.07922209,18.853651 6.73645226,18.5609529 C6.39368244,18.2682549 5.96970407,17.8361186 5.82537564,17.2645439 L5.33200224,14.8280591 L4.28780473,10.091804 C4.09296054,10.0668449 3.91161924,10.005751 3.74378084,9.90852221 C3.51797764,9.77771445 3.33756337,9.60196491 3.20253802,9.38127359 C3.06751267,9.16058227 3,8.91526486 3,8.64532138 C3,8.38325043 3.06751267,8.14188556 3.20253802,7.92122677 C3.33756337,7.70056798 3.51797764,7.52481844 3.74378084,7.39397816 C3.96958405,7.26313787 4.21982744,7.19771773 4.49451103,7.19771773 C4.77268607,7.19771773 5.02564877,7.26313787 5.25339913,7.39397816 C5.48114949,7.52481844 5.66252056,7.69962458 5.79751234,7.91839656 C5.93250411,8.13716855 6,8.37947682 6,8.64532138 C6,8.85527742 5.9585802,9.05033621 5.8757406,9.23049773 L5.8356,9.31024634 L8.05741354,11.6413327 C8.17558193,11.7218918 8.27307085,11.7527925 8.3498803,11.7340349 C8.42668976,11.7152773 8.49488107,11.6628546 8.55445424,11.576767 L11.2500459,6.70934707 C11.0234694,6.57865415 10.8419403,6.40326029 10.7054588,6.18316549 C10.5684863,5.96227898 10.5,5.71705917 10.5,5.44750606 C10.5,5.18172656 10.5675127,4.93943456 10.702538,4.72063004 C10.8375634,4.50182552 11.0189344,4.32701939 11.2466512,4.19621163 C11.474368,4.06540388 11.7275489,4 12.006194,4 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / Folder / filled_understood</title>
<g id="Icon-/-Filled-/-Folder-/-filled_understood" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12.8474094,2.35452236 C13.885383,1.47475174 14.8173541,2.39162557 15.6118925,3.37253311 L15.7012514,3.4837597 C16.5164257,4.50413739 16.896938,5.20519347 17.573079,6.45345067 C18.2023878,7.61607163 19,9.78891004 19,11.0676479 L18.9982623,11.4602681 C18.9876271,12.5429001 18.9217408,13.3886119 18.6297323,14.4132675 L18.4373147,15.0832437 C17.6686959,17.7193108 17.0159257,19.2763685 14.5216634,19.7807735 C13.10206,20.068163 10.6477559,20.1900858 9.65842399,19.3946847 C7.99649075,18.0581246 7.24548521,16.7868457 6.69332563,15.7108913 L6.48407363,15.2966137 C6.20747049,14.7436067 5.49035123,13.0903916 6.59969082,12.2935391 C7.07533115,11.9524455 7.88026093,12.0496935 8.21540442,12.3820783 C9.4579233,13.6143694 9.58232154,15.2464067 11.9078369,15.2464067 C13.3786631,15.2464067 13.9391869,14.2869904 13.9391869,12.58878 C13.9391869,11.3521345 12.1390712,10.1619357 9.97161486,11.0502304 C8.24621513,12.1140246 7.17909072,11.547078 6.86322591,10.7478144 L6.82781627,10.6508891 L6.79127892,10.5445502 C6.5448802,9.79724635 6.61229951,9.16312262 10.1911412,7.82363067 C10.6137438,7.6657143 11.3830789,7.698766 12.0161927,7.78792773 C12.8897042,8.04621996 13.6148836,8.35641256 14.1913276,8.71620571 C14.929645,9.17703372 15.7391454,9.82868756 16.6173642,10.6711738 C16.8017985,10.848104 17.0950516,10.8396614 17.2723632,10.6523169 C17.4496747,10.4649723 17.4439006,10.1696692 17.2594662,9.99273903 C16.7803672,9.5331334 16.3184045,9.12578598 15.8732309,8.77069768 L15.8624136,8.73672043 C15.3582916,7.35121785 14.8646161,6.25548747 14.3777651,5.44628421 C13.9445436,4.72621943 13.3206019,3.99276536 12.5068246,3.24305992 C12.4746432,2.90001775 12.5672164,2.59132364 12.8474094,2.35452236 Z M10.9668008,4.0469269 L11.0518595,3.98215031 C11.2745376,3.81947674 11.4718477,3.74284792 11.8308451,3.8850515 C12.6071746,4.59396408 13.1906226,5.27558261 13.5826599,5.9271944 C13.8835044,6.42723311 14.1925809,7.05721299 14.5092459,7.81609175 C13.7940229,7.39877614 12.9130339,7.05268239 11.8658275,6.77510676 L11.6720359,6.53222118 C11.6390059,6.49065589 11.6057339,6.44860798 11.5724054,6.40616676 L11.3960913,6.1777103 C10.8136406,5.40671311 10.3189783,4.5550951 10.9668008,4.0469269 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Mini / mini_gift_lock</title>
<g id="Mini-/-mini_gift_lock" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M34.6666667,26.3333333 C40.1895142,26.3333333 44.6666667,30.8104858 44.6666667,36.3333333 C44.6666667,41.8561808 40.1895142,46.3333333 34.6666667,46.3333333 C29.1438192,46.3333333 24.6666667,41.8561808 24.6666667,36.3333333 C24.6666667,30.8104858 29.1438192,26.3333333 34.6666667,26.3333333 Z M22,3.06666667 C27.8542183,3.06666667 32.6,7.81244832 32.6,13.6666667 L32.5999548,19.4672746 C34.7232323,19.9235567 36.4292218,21.5034006 37.0650949,23.5539779 C36.287246,23.4090943 35.4858038,23.3333333 34.6666667,23.3333333 C27.4869649,23.3333333 21.6666667,29.1536316 21.6666667,36.3333333 C21.6666667,38.3649522 22.1326999,40.2877232 22.9636948,42.0005746 L12.6666667,42 C9.35295817,42 6.66666667,39.3137085 6.66666667,36 L6.66666667,25.3333333 C6.66666667,22.454169 8.69461762,20.048658 11.4000452,19.4672746 L11.4,13.6666667 C11.4,7.81244832 16.1457817,3.06666667 22,3.06666667 Z M34.6666667,29.3061633 C33.7052821,29.3061633 32.9259259,30.0855195 32.9259259,31.0469041 L32.9259259,36.9308449 C32.9259259,37.7182476 33.2996271,38.4589206 33.9329602,38.9267797 L37.3333333,41.3922119 C38.1066056,41.9634476 39.1965447,41.7996646 39.7677804,41.0263923 L39.8381314,40.9238035 C40.323622,40.1593232 40.1416125,39.1383445 39.4019608,38.5919452 L36.4074074,36.4264726 L36.4074074,31.0469041 C36.4074074,30.0855195 35.6280512,29.3061633 34.6666667,29.3061633 Z M22,7.6 C18.6494725,7.6 15.9333333,10.3161392 15.9333333,13.6666667 L15.9326667,19.3326667 L28.0666667,19.3326667 L28.0666667,13.6666667 C28.0666667,10.3161392 25.3505275,7.6 22,7.6 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

View File

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 899 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / rating_gifts</title>
<g id="Icon-/-Menu-/-rating_gifts" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M9.49180328,1 C11.2844653,1 12.6018066,2.18644541 12.6018066,3.65 C12.6018066,5.11355459 11.2844653,6.3 9.49180328,6.3 C7.6991413,6.3 6.24590164,5.11355459 6.24590164,3.65 C6.24590164,2.18644541 7.6991413,1 9.49180328,1 Z M9.49180328,2.2 C8.31430075,2.2 7.44590164,2.90897331 7.44590164,3.65 C7.44590164,4.39102669 8.31430075,5.1 9.49180328,5.1 C10.6309547,5.1 11.4018066,4.43203043 11.4018066,3.65 C11.4018066,2.86796957 10.6309547,2.2 9.49180328,2.2 Z" id="Oval" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M14.5081967,1 C16.3008587,1 17.7540984,2.18644541 17.7540984,3.65 C17.7540984,5.11355459 16.3008587,6.3 14.5081967,6.3 C12.7155347,6.3 11.4638672,5.11355459 11.4638672,3.65 C11.4638672,2.18644541 12.7155347,1 14.5081967,1 Z M14.5081967,2.2 C13.3883731,2.2 12.6638672,2.84700401 12.6638672,3.65 C12.6638672,4.45299599 13.3883731,5.1 14.5081967,5.1 C15.6856993,5.1 16.5540984,4.39102669 16.5540984,3.65 C16.5540984,2.90897331 15.6856993,2.2 14.5081967,2.2 Z" id="Oval" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M19.5245902,5.2245614 C20.6708074,5.2245614 21.6,6.15375404 21.6,7.29997124 L21.6,9.62036238 C21.6,10.2776718 21.0671455,10.8105263 20.4098361,10.8105263 L3.59016393,10.8105263 C2.93285454,10.8105263 2.4,10.2776718 2.4,9.62036238 L2.4,7.29997124 C2.4,6.15375404 3.32919263,5.2245614 4.47540984,5.2245614 L19.5245902,5.2245614 Z M19.5245902,6.4245614 L4.47540984,6.4245614 C3.99193433,6.4245614 3.6,6.81649574 3.6,7.29997124 L3.6,9.6095614 L20.4,9.6095614 L20.4,7.29997124 C20.4,6.85368616 20.0660441,6.48540066 19.6343997,6.43138209 L19.5245902,6.4245614 Z" id="Rectangle" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M5.07540984,10.7953216 L5.07540984,18.3761864 C5.07540984,19.3485697 5.86368226,20.1368421 6.83606557,20.1368421 L17.1639344,20.1368421 C18.1363177,20.1368421 18.9245902,19.3485697 18.9245902,18.3761864 L18.9245902,10.7953216 L20.1245902,10.7953216 L20.1245902,18.3761864 C20.1245902,20.0113114 18.7990594,21.3368421 17.1639344,21.3368421 L6.83606557,21.3368421 C5.20094056,21.3368421 3.87540984,20.0113114 3.87540984,18.3761864 L3.87540984,10.7953216 L5.07540984,10.7953216 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<polygon id="Path" fill="#FFFFFF" fill-rule="nonzero" points="11.4 6.11695906 11.4 21 12.6 21 12.6 6.11695906"></polygon>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / rating_refund</title>
<g id="Icon-/-Menu-/-rating_refund" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M9.58495703,2.34314741 C14.845204,0.914046898 20.2520851,4.07916838 21.661564,9.41264412 C23.0710429,14.7461199 19.9493787,20.2282711 14.6891317,21.6573716 C9.70832403,23.0105542 4.55852362,20.241996 2.84766326,15.3548697 L2.79687536,15.2061286 C2.7724639,15.132795 2.65678419,14.7396157 2.52176727,14.2756688 L2.02361181,12.5403036 C1.92527607,12.1682007 2.1430666,11.785725 2.51006058,11.6860203 C2.87705455,11.5863156 3.25427881,11.807138 3.35261455,12.179241 L3.59432993,13.0275538 C3.80113943,13.7451404 4.06828557,14.6632038 4.10050903,14.760005 C5.52633258,19.0432668 10.0041242,21.485941 14.3330265,20.3098676 C18.8592855,19.0801764 21.5453687,14.3629766 20.3325613,9.77370673 C19.1197538,5.18443691 14.4673212,2.46096029 9.94106224,3.69065143 C7.52370963,4.34739623 5.56035445,6.02376558 4.49357103,8.2653952 C4.32845825,8.61234632 3.91721015,8.75789206 3.57502268,8.59048072 C3.23283521,8.42306937 3.08928781,8.00609621 3.25440059,7.65914509 C4.49336656,5.05570865 6.77676829,3.10607433 9.58495703,2.34314741 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M2.49794681,3.90217796 C2.49794681,3.51694863 2.80594913,3.20465855 3.18588925,3.20465855 C3.56582936,3.20465855 3.87383169,3.51694863 3.87383169,3.90217796 L3.87360558,7.52173176 L6.91980245,7.41555441 C7.2814361,7.4029357 7.58746725,7.67568116 7.62708143,8.03426422 L7.63099908,8.08867052 C7.64406681,8.47367193 7.34684021,8.79651819 6.96712488,8.80976784 L3.24117729,8.93977968 C2.86111038,8.95304159 2.53984537,8.66451926 2.50172057,8.28653895 L2.49800979,8.22097241 L2.49794681,3.90217796 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M12.3540269,17.3251877 C12.6431336,17.3251877 12.9561718,17.1659567 12.9561718,16.7838024 L12.9561718,16.1901404 C14.6843872,16.0054325 15.7076642,14.9990928 15.7076642,13.5341679 C15.7076642,12.2730587 14.9431377,11.50875 13.3562633,11.1648111 L12.0520711,10.8718262 C11.2361478,10.6934875 10.8378231,10.3240717 10.8378231,9.78268638 C10.8378231,9.13302405 11.4031872,8.66170039 12.289781,8.66170039 C13.0093353,8.66170039 13.5104536,8.90373146 14.0693931,9.5215476 C14.3520752,9.81453257 14.5705113,9.92280963 14.8660426,9.92280963 C15.2258197,9.92280963 15.5020772,9.67440933 15.5020772,9.30499349 C15.5020772,8.94831613 15.2900657,8.55979258 14.9302885,8.20948446 C14.4548686,7.76363776 13.7920916,7.47065278 12.9890176,7.36874497 L12.9890176,6.69989325 C12.9890176,6.32410818 12.6816811,6.16487722 12.3861499,6.16487722 C12.0970432,6.16487722 11.7838443,6.31773894 11.7838443,6.69989325 L11.7838443,7.34963725 C10.1198749,7.50249898 9.11603231,8.48973095 9.11603231,9.90370191 C9.11603231,11.1393342 9.88055881,11.960966 11.3453659,12.2857971 L12.6495582,12.5851513 C13.6003978,12.8080747 13.992298,13.1392751 13.992298,13.6997681 C13.992298,14.4258613 13.4205093,14.8844465 12.3989991,14.8844465 C11.6344726,14.8844465 10.9984379,14.5978307 10.4202246,13.9800146 C10.0925704,13.6551834 9.91268177,13.5851218 9.66854726,13.5851218 C9.27664712,13.5851218 8.98111587,13.8335221 8.98111587,14.2602611 C8.98111587,14.6360462 9.19955201,15.0245697 9.59145215,15.3621394 C10.1054195,15.8270938 10.852439,16.1137095 11.7454573,16.1965096 L11.7454573,16.7838024 C11.7454573,17.1659567 12.0584957,17.3251877 12.3540269,17.3251877 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / reorder</title>
<g id="Icon-/-Menu-/-reorder" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M20.4060728,15.0078431 C21.2543281,15.0078431 21.9419748,15.6954899 21.9419748,16.5437451 L21.9419748,19.064098 C21.9419748,19.9123532 21.2543281,20.6 20.4060728,20.6 L17.9103341,20.6 C17.0620789,20.6 16.3744321,19.9123532 16.3744321,19.064098 L16.3744321,16.5437451 C16.3744321,15.6954899 17.0620789,15.0078431 17.9103341,15.0078431 L20.4060728,15.0078431 Z M16.6624648,3.4 C18.1998993,3.4 19.4462362,4.64633689 19.4462362,6.18377135 L19.446,10.561 L21.5745455,8.42203928 C21.782239,8.21317523 22.105482,8.18912467 22.339778,8.35046222 L22.4230702,8.41965499 C22.6580423,8.65331023 22.6591098,9.03320772 22.4254545,9.26817977 L19.3380547,12.3729793 C19.0636746,12.6458372 18.6245193,12.6446032 18.3544177,12.3729793 L15.2670178,9.26817977 C15.0333625,9.03320772 15.03443,8.65331023 15.2694021,8.41965499 C15.5043741,8.18599974 15.8842716,8.18706723 16.1179268,8.42203928 L18.246,10.563 L18.2462362,6.18377135 C18.2462362,5.30907859 17.5371576,4.6 16.6624648,4.6 L6.36754271,4.6 C5.49284994,4.6 4.78377135,5.30907859 4.78377135,6.18377135 L4.783,15.007 L5.4316407,15.0078431 C6.27989595,15.0078431 6.96754271,15.6954899 6.96754271,16.5437451 L6.96754271,19.064098 C6.96754271,19.9123532 6.27989595,20.6 5.4316407,20.6 L2.93590201,20.6 C2.08764675,20.6 1.4,19.9123532 1.4,19.064098 L1.4,16.5437451 C1.4,15.6954899 2.08764675,15.0078431 2.93590201,15.0078431 L3.583,15.007 L3.58377135,6.18377135 C3.58377135,4.64633689 4.83010824,3.4 6.36754271,3.4 L16.6624648,3.4 Z M12.9188568,15.0078431 C13.767112,15.0078431 14.4547588,15.6954899 14.4547588,16.5437451 L14.4547588,19.064098 C14.4547588,19.9123532 13.767112,20.6 12.9188568,20.6 L10.4231181,20.6 C9.57486282,20.6 8.88721607,19.9123532 8.88721607,19.064098 L8.88721607,16.5437451 C8.88721607,15.6954899 9.57486282,15.0078431 10.4231181,15.0078431 L12.9188568,15.0078431 Z M20.4060728,16.2078431 L17.9103341,16.2078431 C17.7248206,16.2078431 17.5744321,16.3582316 17.5744321,16.5437451 L17.5744321,19.064098 C17.5744321,19.2496115 17.7248206,19.4 17.9103341,19.4 L20.4060728,19.4 C20.5915864,19.4 20.7419748,19.2496115 20.7419748,19.064098 L20.7419748,16.5437451 C20.7419748,16.3582316 20.5915864,16.2078431 20.4060728,16.2078431 Z M5.4316407,16.2078431 L2.93590201,16.2078431 C2.75038845,16.2078431 2.6,16.3582316 2.6,16.5437451 L2.6,19.064098 C2.6,19.2496115 2.75038845,19.4 2.93590201,19.4 L5.4316407,19.4 C5.61715425,19.4 5.76754271,19.2496115 5.76754271,19.064098 L5.76754271,16.5437451 C5.76754271,16.3582316 5.61715425,16.2078431 5.4316407,16.2078431 Z M12.9188568,16.2078431 L10.4231181,16.2078431 C10.2376045,16.2078431 10.0872161,16.3582316 10.0872161,16.5437451 L10.0872161,19.064098 C10.0872161,19.2496115 10.2376045,19.4 10.4231181,19.4 L12.9188568,19.4 C13.1043703,19.4 13.2547588,19.2496115 13.2547588,19.064098 L13.2547588,16.5437451 C13.2547588,16.3582316 13.1043703,16.2078431 12.9188568,16.2078431 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / users_stars</title>
<g id="Icon-/-Menu-/-users_stars" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M10.6647222,14.6083333 C13.1679529,14.6083333 15.1972222,16.6376027 15.1972222,19.1408333 L15.1972222,19.1805556 C15.1972222,19.5119264 14.9285931,19.7805556 14.5972222,19.7805556 C14.2658514,19.7805556 13.9972222,19.5119264 13.9972222,19.1805556 L13.9972222,19.1408333 C13.9972222,17.3003444 12.5052112,15.8083333 10.6647222,15.8083333 L5.47983871,15.8083333 C3.75894714,15.8083333 2.36388889,17.2033916 2.36388889,18.9242832 C2.36388889,19.255654 2.09525974,19.5242832 1.76388889,19.5242832 C1.43251804,19.5242832 1.16388889,19.255654 1.16388889,18.9242832 C1.16388889,16.5406499 3.09620544,14.6083333 5.47983871,14.6083333 L10.6647222,14.6083333 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M8.47745116,3.81325275 C8.84434853,3.9691957 9.13648401,4.26133118 9.29242697,4.62822855 L9.837,5.91011111 L11.2536218,6.01848992 C12.0546381,6.07958882 12.6656371,6.74303885 12.6765549,7.53105369 L12.6721689,7.67131095 C12.640454,8.08709799 12.4414977,8.47225506 12.1207729,8.73875142 L11.07,9.61111111 L11.3938701,10.9206432 C11.5864903,11.7005519 11.1475494,12.4884712 10.4025244,12.745423 L10.2679383,12.785146 C9.87396987,12.8824474 9.45751925,12.8203294 9.10909531,12.6122923 L7.874,11.8751111 L6.65149995,12.6059661 C5.96413876,13.016376 5.08613461,12.8292111 4.62167189,12.196898 L4.53957882,12.0731599 C4.32863667,11.7198706 4.26783432,11.2968624 4.3707302,10.8984627 L4.60871396,9.97701978 C4.63955115,9.85762211 4.67934978,9.74174595 4.72741862,9.63019415 L4.781,9.51711111 C4.72402035,9.48693702 4.66830927,9.45442225 4.61377597,9.41969742 L4.45384681,9.30892937 L3.75085061,8.78062735 C3.07086182,8.2696154 2.93387902,7.30411853 3.44489097,6.62412974 C3.71113573,6.26984554 4.11709183,6.04742064 4.55898263,6.01371466 L5.912,5.91011111 L6.45757303,4.62822855 C6.79029762,3.84540525 7.69462787,3.48052816 8.47745116,3.81325275 Z M8.00805289,4.91763731 C7.83516435,4.84415422 7.63544068,4.92473827 7.5619576,5.09762682 L6.81242023,6.8611133 C6.762712,6.97806516 6.65195707,7.05755523 6.52524782,7.06722019 L4.65024959,7.21023893 C4.55265687,7.21768299 4.46300042,7.2668061 4.40419957,7.34505068 C4.29134126,7.49522796 4.32159427,7.70846043 4.47177155,7.82131874 L5.17476775,8.34962077 C5.44651754,8.55384088 5.78694643,8.64456615 6.12428682,8.60267031 L7.57841053,8.42207605 C7.70002725,8.40697192 7.81692252,8.4743167 7.86485999,8.58710305 C7.92415906,8.72662077 7.85912899,8.88779362 7.71961127,8.94709269 L6.4517079,9.48598834 C6.11405341,9.62950127 5.8623347,9.92186941 5.77058814,10.2771004 L5.53260437,11.1985433 C5.50987955,11.2865309 5.52330791,11.3799534 5.56989503,11.4579782 C5.66620013,11.6192716 5.87502492,11.671955 6.03631826,11.5756499 L7.70062419,10.5819253 C7.80803032,10.5177952 7.94196968,10.5177952 8.04937581,10.5819253 L9.72427701,11.5819761 C9.80122733,11.6279216 9.89320153,11.6416405 9.98021047,11.6201513 C10.1625874,11.5751082 10.2739185,11.3907479 10.2288754,11.208371 L9.77632428,9.37601536 C9.74506588,9.24945178 9.78889505,9.11615638 9.88916433,9.03284072 L11.3538674,7.81579097 C11.4247003,7.75693456 11.4686403,7.67187163 11.4756446,7.58004398 C11.4899322,7.3927312 11.3496676,7.2293018 11.1623548,7.21501419 L9.22475218,7.06722019 C9.09804293,7.05755523 8.987288,6.97806516 8.93757977,6.8611133 L8.1880424,5.09762682 C8.153602,5.01659659 8.08908313,4.95207771 8.00805289,4.91763731 Z" id="Star" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M18.0174227,5.90931057 C18.3486503,6.04652517 18.611812,6.3096869 18.7490266,6.64091449 L19.1044444,7.5 L20.0337984,7.57332883 C20.7344012,7.62815795 21.2683217,8.20775826 21.2801433,8.89635992 L21.2761548,9.02664858 C21.2481303,9.38474356 21.0787573,9.71696686 20.805417,9.94999576 L20.0974444,10.552 L20.3154363,11.4563406 C20.4799024,12.1395692 20.0937745,12.8265284 19.4425658,13.0506693 L19.3174274,13.0871582 C18.9686126,13.1711245 18.6007266,13.1129982 18.2947908,12.9255805 L17.4994444,12.438 L16.7339799,12.9079554 C16.1370798,13.2736191 15.3682309,13.1207349 14.9530722,12.5755767 L14.8749121,12.4613522 C14.6783232,12.1404454 14.6243898,11.7521195 14.7260855,11.389785 L14.9136874,10.721373 C14.9302657,10.6623057 14.9495081,10.6043097 14.9712932,10.5475329 L14.9924444,10.496 L14.8586084,10.4042198 L14.3173233,9.99771597 C13.7202762,9.54933497 13.5997585,8.701848 14.0481395,8.10480086 C14.2812853,7.79435268 14.6366446,7.59911993 15.0237072,7.56882844 L15.8944444,7.5 L16.2509734,6.64091449 C16.536738,5.95109613 17.3276044,5.6235459 18.0174227,5.90931057 Z M17.59643,6.9255611 C17.4678713,6.87230428 17.3204807,6.93334851 17.2672239,7.0619072 L16.7120856,8.40197687 C16.6758104,8.48954314 16.5934614,8.54934298 16.4989677,8.55673805 L15.1095308,8.66547529 C15.0373954,8.6711206 14.9711685,8.70750534 14.9277181,8.76536233 C14.8441551,8.87663162 14.8666155,9.03457438 14.9778848,9.11813736 L15.5191699,9.52464117 C15.7230236,9.67773481 15.9788884,9.7445585 16.2315688,9.71069694 L17.183292,9.58315701 C17.2805543,9.57012294 17.375435,9.61996727 17.4198915,9.70745139 C17.4776834,9.82117784 17.4323395,9.96022092 17.318613,10.0180128 L16.4184593,10.4754402 C16.2004755,10.5862121 16.0388382,10.7832041 15.9727639,11.0186219 L15.7851621,11.6870339 C15.7662094,11.7545607 15.7762608,11.8269315 15.8128983,11.8867376 C15.8855887,12.0053956 16.0407073,12.0426597 16.1593653,11.9699692 L17.3683823,11.2293199 C17.449152,11.17984 17.550848,11.17984 17.6316177,11.2293199 L18.8694054,11.9875943 C18.9264214,12.0225226 18.9949829,12.0333554 19.0599901,12.0177069 C19.1952788,11.9851403 19.2785516,11.8490667 19.245985,11.7137779 L18.9067247,10.304416 C18.8845188,10.212168 18.9160198,10.1152669 18.988225,10.0537103 L20.0917784,9.1129056 C20.1427197,9.06947694 20.1742851,9.00756181 20.1795079,8.94082508 C20.1903648,8.80209601 20.086704,8.68083261 19.9479749,8.66997568 L18.5010323,8.55673805 C18.4065386,8.54934298 18.3241896,8.48954314 18.2879144,8.40197687 L17.7327761,7.0619072 C17.707204,7.00017764 17.6581596,6.95113324 17.59643,6.9255611 Z" id="Star-Copy" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M18.2638889,14.6083333 C20.7890575,14.6083333 22.8361111,16.6553869 22.8361111,19.1805556 C22.8361111,19.5119264 22.567482,19.7805556 22.2361111,19.7805556 C21.9047403,19.7805556 21.6361111,19.5119264 21.6361111,19.1805556 C21.6361111,17.3181286 20.1263158,15.8083333 18.2638889,15.8083333 L15.8789648,15.8077138 C15.6342075,15.3537143 15.2908888,14.9468235 14.8660915,14.6068359 L18.2638889,14.6083333 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -0,0 +1,15 @@
<svg width="72px" height="72px" viewBox="0 0 72 72">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(9.000000, 14.000000)" stroke-width="7.2" stroke="rgb(255,255,255)">
<path d="M2.96014341,0 L50.9898193,0 C51.9732032,-7.06402744e-15
52.7703933,0.797190129 52.7703933,1.78057399 C52.7703933,2.08038611
52.6946886,2.3753442 52.5502994,2.63809702 L29.699977,44.2200383
C28.7527832,45.9436969 26.5876295,46.5731461 24.8639708,45.6259523
C24.2556953,45.2916896 23.7583564,44.7869606 23.4331014,44.1738213
L1.38718565,2.61498853 C0.926351231,1.74626794 1.25700829,0.668450654
2.12572888,0.20761623 C2.38272962,0.0712838007 2.6692209,4.97530809e-16
2.96014341,0 Z"></path>
<line x1="27" y1="44.4532875" x2="27" y2="0"></line>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 835 B

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / birthday_add</title>
<g id="Icon-/-Menu-/-birthday_add" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M19.4857266,16.2888889 C19.8170975,16.2888889 20.0857266,16.557518 20.0857266,16.8888889 L20.0856667,18.7328889 L21.9305556,18.7333333 C22.2287893,18.7333333 22.4762023,18.9509229 22.5227026,19.2360102 L22.5305556,19.3333333 C22.5305556,19.6647042 22.2619264,19.9333333 21.9305556,19.9333333 L20.0856667,19.9328889 L20.0857266,21.7777778 C20.0857266,22.0760115 19.868137,22.3234245 19.5830498,22.3699248 L19.4857266,22.3777778 C19.1543558,22.3777778 18.8857266,22.1091486 18.8857266,21.7777778 L18.8856667,19.9328889 L17.0416667,19.9333333 C16.7434329,19.9333333 16.4960199,19.7157437 16.4495197,19.4306564 L16.4416667,19.3333333 C16.4416667,19.0019625 16.7102958,18.7333333 17.0416667,18.7333333 L18.8856667,18.7328889 L18.8857266,16.8888889 C18.8857266,16.5906551 19.1033163,16.3432421 19.3884035,16.2967419 L19.4857266,16.2888889 Z M8.41204757,10.3213892 C8.4968615,10.6417222 8.30593555,10.9701587 7.98560254,11.0549726 C6.00141779,11.5803212 4.96111111,12.4866846 4.96111111,13.4472478 C4.96111111,13.5837542 4.98907974,13.7199344 5.04305686,13.8546242 C5.05815315,13.8780132 5.06968916,13.9034625 5.07949993,13.9299664 C5.67337842,15.1862671 8.51737301,16.291625 12,16.291625 C15.9250424,16.291625 19.0388889,14.8875907 19.0388889,13.4472478 C19.0388889,12.5127848 18.0774561,11.638341 16.2036879,11.1068602 C15.8848931,11.0164364 15.6997618,10.684699 15.7901857,10.3659042 C15.8806095,10.0471093 16.2123468,9.86197804 16.5311417,9.95240189 C18.8627692,10.6137512 20.2388889,11.8653615 20.2388889,13.4472478 C20.2388889,13.979393 20.0501074,14.4768826 19.7060685,14.9283577 C19.6140075,14.9115452 19.5205276,14.9027778 19.425,14.9027778 C18.6281077,14.9027778 17.9737164,15.5128973 17.9034658,16.2914966 L17.9034247,16.3114033 C16.4008483,17.0540936 14.3028164,17.491625 12,17.491625 C9.47842329,17.491625 7.20238688,16.967017 5.68481102,16.0915954 L6.42111111,18.7214444 L6.44,18.7222222 L6.44511111,18.8074444 L6.45530551,18.8430624 L6.4709096,18.9292533 C6.76328017,19.9158038 9.09544378,20.8722222 12,20.8722222 C13.262879,20.8722222 14.4175503,20.6914166 15.3434009,20.4059417 C15.6196573,20.6869274 16.004765,20.8611111 16.4305556,20.8611111 L17.2836209,20.8606349 C16.0386964,21.6207641 14.1238391,22.0722222 12,22.0722222 C8.52835644,22.0722222 5.61510021,20.8659524 5.27347003,19.0770457 L3.95558458,14.3602924 C3.82830877,14.0698882 3.76111111,13.7647359 3.76111111,13.4472478 C3.76111111,11.8222874 5.22885268,10.5435228 7.67846416,9.89494413 C7.99879717,9.81013021 8.32723365,10.0010562 8.41204757,10.3213892 Z M12.4583333,7.42777778 C13.380342,7.42777778 14.1277778,8.17521351 14.1277778,9.09722222 L14.1277778,13.0694444 C14.1277778,13.9914532 13.380342,14.7388889 12.4583333,14.7388889 L11.8472222,14.7388889 C10.9252135,14.7388889 10.1777778,13.9914532 10.1777778,13.0694444 L10.1777778,9.09722222 C10.1777778,8.17521351 10.9252135,7.42777778 11.8472222,7.42777778 L12.4583333,7.42777778 Z M12.4583333,8.62777778 L11.8472222,8.62777778 C11.5879552,8.62777778 11.3777778,8.83795521 11.3777778,9.09722222 L11.3777778,13.0694444 C11.3777778,13.3287115 11.5879552,13.5388889 11.8472222,13.5388889 L12.4583333,13.5388889 C12.7176003,13.5388889 12.9277778,13.3287115 12.9277778,13.0694444 L12.9277778,9.09722222 C12.9277778,8.83795521 12.7176003,8.62777778 12.4583333,8.62777778 Z M12.0207549,1.46944444 C12.8988738,1.46944444 14.1277778,3.40600437 14.1277778,4.64408449 C14.1277778,6.06372135 13.4385567,6.82401696 12,6.82401696 C10.3912998,6.82401696 9.40287158,5.20228362 10.2271046,3.79129771 L10.3125678,3.6554701 C10.6068441,3.21972221 11.1748869,2.01278865 11.1599792,2.03824823 C11.3659094,1.68655903 11.6259528,1.46944444 12.0207549,1.46944444 Z M12.1011111,2.85144444 L12.0713457,2.91751396 L11.8811707,3.30172279 L11.6899023,3.66987931 C11.557639,3.91763569 11.4205876,4.1589191 11.3070312,4.32706715 C10.8867233,4.94943561 11.2769618,5.62401696 12,5.62401696 C12.7481114,5.62401696 12.9277778,5.42582286 12.9277778,4.64408449 C12.9277778,4.29594473 12.7310746,3.77237759 12.4219529,3.28525029 C12.3528553,3.1763634 12.281237,3.07447531 12.2108288,2.98385177 L12.1011111,2.85144444 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Filled / filled_verify_age</title>
<g id="Filled-/-filled_verify_age" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M36,34.9473684 C33.5842105,34.9473684 31.5592105,34.1302632 29.925,32.4960526 C28.2907895,30.8618421 27.4736842,28.8368421 27.4736842,26.4210526 C27.4736842,24.0526316 28.2907895,22.0394737 29.925,20.3815789 C31.5592105,18.7236842 33.5842105,17.8947368 36,17.8947368 C38.3684211,17.8947368 40.3815789,18.7236842 42.0394737,20.3815789 C43.6973684,22.0394737 44.5263158,24.0526316 44.5263158,26.4210526 C44.5263158,28.8368421 43.6973684,30.8618421 42.0394737,32.4960526 C40.3815789,34.1302632 38.3684211,34.9473684 36,34.9473684 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M18.9473684,49.6842105 L18.9473684,47.1263158 C18.9473684,46.1315789 19.1960526,45.1960526 19.6934211,44.3197368 C20.1907895,43.4434211 20.8657895,42.7447368 21.7184211,42.2236842 C23.8973684,40.9447368 26.1828947,39.9736842 28.575,39.3105263 C30.9671053,38.6473684 33.4421053,38.3157895 36,38.3157895 C38.5578947,38.3157895 41.0328947,38.6473684 43.425,39.3105263 C45.8171053,39.9736842 48.1026316,40.9447368 50.2815789,42.2236842 C51.1342105,42.7447368 51.8092105,43.4434211 52.3065789,44.3197368 C52.8039474,45.1960526 53.0526316,46.1315789 53.0526316,47.1263158 L53.0526316,49.6842105 C53.0526316,50.4894737 52.7802632,51.1644737 52.2355263,51.7092105 C51.6907895,52.2539474 51.0157895,52.5263158 50.2105263,52.5263158 L21.7894737,52.5263158 C20.9842105,52.5263158 20.3092105,52.2539474 19.7644737,51.7092105 C19.2197368,51.1644737 18.9473684,50.4894737 18.9473684,49.6842105 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M11.6842105,66 C10.1210526,66 8.78289474,65.4434211 7.66973684,64.3302632 C6.55657895,63.2171053 6,61.8789474 6,60.3157895 L6,51.7894737 C6,50.9842105 6.27236842,50.3092105 6.81710526,49.7644737 C7.36184211,49.2197368 8.03684211,48.9473684 8.84210526,48.9473684 C9.64736842,48.9473684 10.3223684,49.2197368 10.8671053,49.7644737 C11.4118421,50.3092105 11.6842105,50.9842105 11.6842105,51.7894737 L11.6842105,60.3157895 L20.2105263,60.3157895 C21.0157895,60.3157895 21.6907895,60.5881579 22.2355263,61.1328947 C22.7802632,61.6776316 23.0526316,62.3526316 23.0526316,63.1578947 C23.0526316,63.9631579 22.7802632,64.6381579 22.2355263,65.1828947 C21.6907895,65.7276316 21.0157895,66 20.2105263,66 L11.6842105,66 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M6,20.2105263 L6,11.6842105 C6,10.1210526 6.55657895,8.78289474 7.66973684,7.66973684 C8.78289474,6.55657895 10.1210526,6 11.6842105,6 L20.2105263,6 C21.0157895,6 21.6907895,6.27236842 22.2355263,6.81710526 C22.7802632,7.36184211 23.0526316,8.03684211 23.0526316,8.84210526 C23.0526316,9.64736842 22.7802632,10.3223684 22.2355263,10.8671053 C21.6907895,11.4118421 21.0157895,11.6842105 20.2105263,11.6842105 L11.6842105,11.6842105 L11.6842105,20.2105263 C11.6842105,21.0157895 11.4118421,21.6907895 10.8671053,22.2355263 C10.3223684,22.7802632 9.64736842,23.0526316 8.84210526,23.0526316 C8.03684211,23.0526316 7.36184211,22.7802632 6.81710526,22.2355263 C6.27236842,21.6907895 6,21.0157895 6,20.2105263 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M60.3157895,66 L51.7894737,66 C50.9842105,66 50.3092105,65.7276316 49.7644737,65.1828947 C49.2197368,64.6381579 48.9473684,63.9631579 48.9473684,63.1578947 C48.9473684,62.3526316 49.2197368,61.6776316 49.7644737,61.1328947 C50.3092105,60.5881579 50.9842105,60.3157895 51.7894737,60.3157895 L60.3157895,60.3157895 L60.3157895,51.7894737 C60.3157895,50.9842105 60.5881579,50.3092105 61.1328947,49.7644737 C61.6776316,49.2197368 62.3526316,48.9473684 63.1578947,48.9473684 C63.9631579,48.9473684 64.6381579,49.2197368 65.1828947,49.7644737 C65.7276316,50.3092105 66,50.9842105 66,51.7894737 L66,60.3157895 C66,61.8789474 65.4434211,63.2171053 64.3302632,64.3302632 C63.2171053,65.4434211 61.8789474,66 60.3157895,66 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M60.3157895,20.2105263 L60.3157895,11.6842105 L51.7894737,11.6842105 C50.9842105,11.6842105 50.3092105,11.4118421 49.7644737,10.8671053 C49.2197368,10.3223684 48.9473684,9.64736842 48.9473684,8.84210526 C48.9473684,8.03684211 49.2197368,7.36184211 49.7644737,6.81710526 C50.3092105,6.27236842 50.9842105,6 51.7894737,6 L60.3157895,6 C61.8789474,6 63.2171053,6.55657895 64.3302632,7.66973684 C65.4434211,8.78289474 66,10.1210526 66,11.6842105 L66,20.2105263 C66,21.0157895 65.7276316,21.6907895 65.1828947,22.2355263 C64.6381579,22.7802632 63.9631579,23.0526316 63.1578947,23.0526316 C62.3526316,23.0526316 61.6776316,22.7802632 61.1328947,22.2355263 C60.5881579,21.6907895 60.3157895,21.0157895 60.3157895,20.2105263 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -13,6 +13,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"cloud_lng_topup_purpose_subs" = "Buy **Stars** to keep your channel subscriptions.";
"cloud_lng_age_verify_about_gb#one" = "To access such content, you must confirm that you are at least **{count}** year old as required by UK law.";
"cloud_lng_age_verify_about_gb#other" = "To access such content, you must confirm that you are at least **{count}** years old as required by UK law.";
"cloud_lng_passport_in_ar" = "Arabic";
"cloud_lng_passport_in_az" = "Azerbaijani";
"cloud_lng_passport_in_bg" = "Bulgarian";

View File

@@ -377,6 +377,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_intro_fragment_about" = "Get the code for {phone_number} in the Anonymous Numbers section on Fragment.";
"lng_intro_fragment_button" = "Open Fragment";
"lng_intro_email_setup_title" = "Choose a login email";
"lng_intro_email_confirm_subtitle" = "Please check your email {email} (don't forget the spam folder) and enter the code we just sent you.";
"lng_phone_title" = "Your Phone Number";
"lng_phone_desc" = "Please confirm your country code\nand enter your phone number.";
"lng_phone_to_qr" = "Quick log in using QR code";
@@ -434,6 +437,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_dlg_new_channel_name" = "Channel name";
"lng_dlg_new_bot_name" = "Bot name";
"lng_no_chats" = "Your chats will be here";
"lng_no_conversations" = "You have no\nconversations yet.";
"lng_no_conversations_button" = "New Message";
"lng_no_conversations_subtitle" = "Your contacts on Telegram";
"lng_no_chats_filter" = "No chats currently belong to this folder.";
"lng_no_saved_sublists" = "You can save messages from other chats here.";
"lng_contacts_loading" = "Loading...";
@@ -509,12 +515,15 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_settings_notify_global" = "Global settings";
"lng_settings_notify_title" = "Notifications for chats";
"lng_settings_desktop_notify" = "Desktop notifications";
"lng_settings_master_volume_notifications" = "Volume";
"lng_settings_native_title" = "System integration";
"lng_settings_use_windows" = "Use Windows notifications";
"lng_settings_skip_in_focus" = "Respect system Focus mode";
"lng_settings_use_native_notifications" = "Use native notifications";
"lng_settings_notifications_position" = "Location on the screen";
"lng_settings_notifications_count" = "Notifications count";
"lng_settings_notifications_display" = "Display for notifications";
"lng_settings_notifications_display_default" = "Default";
"lng_settings_sound_allowed" = "Allow sound";
"lng_settings_alert_windows" = "Flash the taskbar icon";
"lng_settings_alert_mac" = "Bounce the Dock icon";
@@ -549,12 +558,15 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_notification_title_private_chats" = "Notifications for private chats";
"lng_notification_about_private_chats#one" = "Please note that **{count} chat** is listed as an exception and won't be affected by this change.";
"lng_notification_about_private_chats#other" = "Please note that **{count} chats** are listed as exceptions and won't be affected by this change.";
"lng_notification_volume_private_chats" = "Notifications volume for private chats";
"lng_notification_title_groups" = "Notifications for groups";
"lng_notification_about_groups#one" = "Please note that **{count} group** is listed as an exception and won't be affected by this change.";
"lng_notification_about_groups#other" = "Please note that **{count} groups** are listed as exceptions and won't be affected by this change.";
"lng_notification_volume_groups" = "Notifications volume for groups";
"lng_notification_title_channels" = "Notifications for channels";
"lng_notification_about_channels#one" = "Please note that **{count} channel** is listed as an exception and won't be affected by this change.";
"lng_notification_about_channels#other" = "Please note that **{count} channels** are listed as exceptions and won't be affected by this change.";
"lng_notification_volume_channel" = "Notifications volume for channels";
"lng_notification_exceptions_view" = "View exceptions";
"lng_notification_enable" = "Enable notifications";
"lng_notification_sound" = "Sound";
@@ -684,6 +696,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_shortcuts_media_fullscreen" = "Toggle video fullscreen";
"lng_shortcuts_show_chat_menu" = "Show chat menu";
"lng_shortcuts_show_chat_preview" = "Show chat preview";
"lng_shortcuts_record_voice_message" = "Record Voice Message";
"lng_shortcuts_record_round_message" = "Record Round Message";
"lng_settings_chat_reactions_title" = "Quick Reaction";
"lng_settings_chat_reactions_subtitle" = "Choose your favorite reaction";
@@ -765,6 +779,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_settings_birthday_contacts" = "Only your contacts can see your birthday. {link}";
"lng_settings_birthday_contacts_link" = "Change >";
"lng_settings_birthday_saved" = "Your date of birth was updated.";
"lng_settings_birthday_suggested" = "Date of birth was suggested to {user}";
"lng_settings_birthday_reset" = "Remove";
"lng_settings_channel_label" = "Personal channel";
"lng_settings_channel_add" = "Add";
@@ -972,6 +987,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_settings_color_subscribe" = "Subscribe to {link} to choose a custom color for your name.";
"lng_settings_color_changed" = "Your name color has been updated!";
"lng_settings_color_changed_channel" = "Your channel color has been updated!";
"lng_settings_color_apply" = "Apply Style";
"lng_suggest_hide_new_title" = "Hide new chats?";
"lng_suggest_hide_new_about" = "You are receiving lots of new chats from users who are not in your Contact List.\n\nDo you want to have such chats **automatically muted** and **archived**?";
@@ -1235,6 +1251,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_quick_dialog_action_toast_archive_success" = "The chat has been archived.";
"lng_quick_dialog_action_toast_unarchive_success" = "The chat has been unarchived.";
"lng_archive_hint_title" = "This is your Archive";
"lng_archive_hint_about" = "Archived chats will remain in the Archive when you receive a new message. {link}";
"lng_archive_hint_about_unmuted" = "When you receive a new message, muted chats will remain in the Archive, while unmuted chats will be moved to Chats. {link}";
"lng_archive_hint_about_link" = "Tap to change {emoji}";
"lng_archive_hint_section_1" = "Archived Chats";
"lng_archive_hint_section_1_info" = "Move any chat into your Archive and back by swiping on it.";
"lng_archive_hint_section_2" = "Hiding Archive";
"lng_archive_hint_section_2_info" = "Hide the Archive from your Main screen by swiping on it.";
"lng_archive_hint_section_3" = "Stories";
"lng_archive_hint_section_3_info" = "Archive Stories from your contacts separately from chats with them.";
"lng_archive_hint_button" = "Got it";
"lng_settings_generic_subscribe" = "Subscribe to {link} to use this setting.";
"lng_settings_generic_subscribe_link" = "Telegram Premium";
@@ -1578,6 +1606,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_info_birthday_today_years#other" = "{date}\n({count} years old)";
"lng_info_birthday_today_label" = "Birthday today";
"lng_info_birthday_today" = "{emoji} {date}";
"lng_info_notes_label" = "Notes";
"lng_info_notes_private" = "only visible to you";
"lng_edit_note" = "Edit Note";
"lng_delete_note" = "Delete Note";
"lng_info_bio_label" = "Bio";
"lng_info_link_label" = "Link";
"lng_info_location_label" = "Location";
@@ -1601,6 +1633,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_info_group_title" = "Group Info";
"lng_info_channel_title" = "Channel Info";
"lng_info_topic_title" = "Topic Info";
"lng_info_thread_title" = "Thread Info";
"lng_profile_enable_notifications" = "Notifications";
"lng_profile_send_message" = "Send Message";
"lng_profile_open_app" = "Open App";
@@ -1615,7 +1648,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_profile_suggest_photo_from_clipboard" = "Suggest From Clipboard";
"lng_profile_set_photo_for" = "Set Profile Photo";
"lng_profile_set_photo_for_from_clipboard" = "Set From Clipboard";
"lng_profile_set_photo_for_about" = "You can replace {user}'s photo with another photo that only you will see.";
"lng_profile_photo_reset" = "Reset to Original";
"lng_profile_photo_reset_sure" = "Are you sure you want to reset {user}'s photo to the original?";
"lng_profile_photo_from_clipboard" = "From clipboard";
"lng_profile_suggest_sure" = "You can suggest {user} to set this photo for their Telegram profile.";
"lng_profile_suggest_button" = "Suggest";
@@ -1635,6 +1670,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_media_type_audios" = "Voice messages";
"lng_media_type_links" = "Shared links";
"lng_media_type_rounds" = "Video messages";
"lng_media_saved_music_your" = "Your playlist";
"lng_media_saved_music_title" = "Playlist";
"lng_profile_common_groups_section" = "Groups in common";
"lng_info_edit_contact" = "Edit contact";
"lng_info_delete_contact" = "Delete contact";
@@ -1873,6 +1910,30 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_star_ref_revoked_title" = "Link removed";
"lng_star_ref_revoked_text" = "It will no longer work.";
"lng_stars_rating_title" = "Rating";
"lng_stars_rating_future" = "Future Rating";
"lng_stars_rating_updates#one" = "in {count} day";
"lng_stars_rating_updates#other" = "in {count} days";
"lng_stars_rating_pending#one" = "The rating will update {when}.\n{count} point is pending. {link}";
"lng_stars_rating_pending#other" = "The rating will update {when}.\n{count} points are pending. {link}";
"lng_stars_rating_pending_preview" = "Preview {arrow}";
"lng_stars_rating_pending_back" = "Back {arrow}";
"lng_stars_rating_negative_label" = "Negative Rating";
"lng_stars_rating_negative" = "A negative rating indicates that **{name}'s** payments are unreliable.";
"lng_stars_rating_negative_your#one" = "A negative rating indicates that your payments are unreliable. Spend **{count} Star** to fix this issue.";
"lng_stars_rating_negative_your#other" = "A negative rating indicates that your payments are unreliable. Spend **{count} Stars** to fix this issue.";
"lng_stars_rating_about" = "This rating reflects **{name}'s** activity on Telegram. What affects it:";
"lng_stars_rating_about_your" = "This rating reflects your activity on Telegram. What affects it:";
"lng_stars_title_gifts_telegram" = "Gifts from Telegram";
"lng_stars_about_gifts_telegram" = "{emoji} 100% of the Stars spent on gifts purchased from Telegram.";
"lng_stars_title_gifts_users" = "Gifts and Posts from Users";
"lng_stars_about_gifts_users" = "{emoji} 20% of the Stars spent on resold gifts, paid messages and channel posts.";
"lng_stars_title_refunds" = "Refunds and Conversions";
"lng_stars_about_refunds" = "{emoji} 10x of refunded Stars and 85% of bought gifts converted to Stars.";
"lng_stars_rating_added" = "Added";
"lng_stars_rating_deducted" = "Deducted";
"lng_stars_rating_understood" = "Understood";
"lng_manage_discussion_group" = "Discussion";
"lng_manage_discussion_group_add" = "Add a group";
"lng_manage_linked_channel" = "Linked channel";
@@ -1900,6 +1961,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_manage_monoforum_price" = "Price for each message";
"lng_manage_monoforum_about" = "Allow users to send messages to your channel, with the option to charge a fee for each message.";
"lng_manage_monoforum_price_about" = "Your channel will receive {percent} of the selected fee ({amount}) for each incoming message.";
"lng_manage_monoforum_link_subtitle" = "Link to direct messages";
"lng_manage_history_visibility_title" = "Chat history for new members";
"lng_manage_history_visibility_shown" = "Visible";
@@ -2028,6 +2090,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_sure_delete_contact" = "Are you sure you want to delete {contact} from your contact list?";
"lng_sure_delete_history" = "Are you sure you want to delete all message history with {contact}?\n\nThis action cannot be undone.";
"lng_sure_delete_group_history" = "Are you sure you want to delete all messages in \"{group}\"?\n\nThis action cannot be undone.";
"lng_sure_delete_channel_history" = "Are you sure you want to delete all messages in \"{channel}\"?\n\n**This action cannot be undone.**";
"lng_sure_delete_and_exit" = "Are you sure you want to delete all message history and leave «{group}»?\n\nThis action cannot be undone.";
"lng_sure_leave_channel" = "Are you sure you want to leave\nthis channel?";
"lng_sure_delete_channel" = "Are you sure you want to delete this channel? All subscribers will be removed and all messages will be lost.";
@@ -2140,6 +2203,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_action_you_proximity_reached" = "You are now within {distance} from {user}";
"lng_action_you_theme_changed" = "You changed the chat theme to {emoji}";
"lng_action_theme_changed" = "{from} changed the chat theme to {emoji}";
"lng_action_you_gift_theme_changed" = "You set {name} as a new theme for this chat.";
"lng_action_gift_theme_changed" = "{from} set {name} as a new theme for this chat.";
"lng_action_you_theme_disabled" = "You disabled the chat theme";
"lng_action_theme_disabled" = "{from} disabled the chat theme";
"lng_action_proximity_distance_m#one" = "{count} meter";
@@ -2156,11 +2221,19 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_action_gift_upgraded_self_channel" = "You turned this gift to {channel} into a unique collectible";
"lng_action_gift_upgraded_mine" = "You turned the gift from {user} into a unique collectible";
"lng_action_gift_upgraded_self" = "You turned this gift into a unique collectible";
"lng_action_gift_sent_upgrade_other" = "{from} sent an upgrade worth {cost} for the gift you received from {user}.";
"lng_action_gift_sent_upgrade_self_other" = "You sent an upgrade worth {cost} for the gift {name} received from {user}.";
"lng_action_gift_sent_upgrade" = "{from} sent an upgrade worth {cost} for your gift.";
"lng_action_gift_sent_upgrade_self" = "You sent an upgrade worth {cost} for this gift.";
"lng_action_gift_sent_upgrade_self_channel" = "You sent an upgrade worth {cost} for your gift to {name}.";
"lng_action_gift_upgraded_helped" = "{user} unpacked the gift that you helped to upgrade.";
"lng_action_gift_upgraded_helped_self" = "You unpacked the gift that {user} helped to upgrade.";
"lng_action_gift_transferred" = "{user} transferred you a gift";
"lng_action_gift_transferred_channel" = "{user} transferred a gift to {channel}";
"lng_action_gift_transferred_unknown" = "Someone transferred you a gift";
"lng_action_gift_transferred_unknown_channel" = "Someone transferred a gift to {channel}";
"lng_action_gift_transferred_self" = "You transferred a unique collectible";
"lng_action_gift_displayed_self" = "You've started displaying {name} on your Telegram profile page.";
"lng_action_gift_transferred_self_channel" = "You transferred a gift to {channel}";
"lng_action_gift_transferred_mine" = "You transferred a gift to {user}";
"lng_action_gift_received_anonymous" = "Unknown user sent you a gift for {cost}";
@@ -2176,6 +2249,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_action_gift_channel_about_unique" = "You can display this gift in channel's Gifts or turn it into unique collectible.";
"lng_action_gift_for_stars#one" = "{count} Star";
"lng_action_gift_for_stars#other" = "{count} Stars";
"lng_action_gift_for_ton#one" = "{count} TON";
"lng_action_gift_for_ton#other" = "{count} TON";
"lng_action_gift_got_subtitle" = "Gift from {user}";
"lng_action_gift_got_stars_text#one" = "Display this gift on your page or convert it to **{count}** Star.";
"lng_action_gift_got_stars_text#other" = "Display this gift on your page or convert it to **{count}** Stars.";
@@ -2199,6 +2274,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_action_suggested_video_me" = "You suggested this photo for {user}'s Telegram profile.";
"lng_action_suggested_video" = "{user} suggests this photo for your Telegram profile.";
"lng_action_suggested_video_button" = "View Photo";
"lng_action_suggested_birthday_me" = "You suggest {user} add a date of birth:";
"lng_action_suggested_birthday" = "{user} suggests you add your date of birth:";
"lng_action_suggested_birtday_button" = "View";
"lng_action_attach_menu_bot_allowed" = "You allowed this bot to message you when you added it to your attachment menu.";
"lng_action_webapp_bot_allowed" = "You allowed this bot to message you in its web-app.";
"lng_action_set_wallpaper_me" = "You set a new wallpaper for this chat";
@@ -2219,6 +2297,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_action_topic_hidden" = "\"{topic}\" was hidden";
"lng_action_topic_unhidden" = "\"{topic}\" was unhidden";
"lng_action_topic_placeholder" = "topic";
"lng_action_topic_bot_thread" = "thread";
"lng_action_topic_renamed" = "{from} renamed the {link} to \"{title}\"";
"lng_action_topic_icon_changed" = "{from} changed the {link} icon to {emoji}";
"lng_action_topic_icon_removed" = "{from} removed the {link} icon";
@@ -2280,6 +2359,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_action_suggest_success_ton#other" = "{from} has received {count} TON for publishing post.";
"lng_action_suggest_refund_user" = "User refunded the Stars so that post was deleted.";
"lng_action_suggest_refund_admin" = "Admin deleted the post early so that the price was refunded to the user.";
"lng_action_post_rejected" = "The post was rejected.";
"lng_action_not_enough_funds" = "Transaction failed.";
"lng_you_paid_stars#one" = "You paid {count} Star.";
"lng_you_paid_stars#other" = "You paid {count} Stars.";
@@ -2308,6 +2389,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_peer_gifts_filter_by_value" = "Sort by Value";
"lng_peer_gifts_filter_by_date" = "Sort by Date";
"lng_peer_gifts_filter_unlimited" = "Unlimited";
"lng_peer_gifts_filter_upgradable" = "Upgradeable";
"lng_peer_gifts_filter_limited" = "Limited";
"lng_peer_gifts_filter_unique" = "Unique";
"lng_peer_gifts_filter_saved" = "Displayed";
@@ -2513,6 +2595,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_bot_allow_write_title" = "Allow messaging";
"lng_bot_allow_write" = "Do you want to allow this bot to send you messages?";
"lng_bot_allow_write_confirm" = "Allow";
"lng_bot_new_chat" = "New Chat";
"lng_bot_new_thread_title" = "New Thread";
"lng_bot_new_thread_about" = "Type any message to create a new thread.";
"lng_bot_show_threads_list" = "Show Threads List";
"lng_attach_failed" = "Failed";
"lng_attach_file" = "File";
@@ -2584,6 +2670,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_premium_unlock_emoji" = "Unlock Animated Emoji";
"lng_premium_unlock_status" = "Unlock Emoji Status";
"lng_premium_subscribe_months_24" = "2-Year";
"lng_premium_subscribe_months_12" = "Annual";
"lng_premium_subscribe_months_6" = "Semiannual";
"lng_premium_subscribe_months_1" = "Monthly";
@@ -2861,6 +2948,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_credits_box_history_entry_gift_converted" = "Converted Gift";
"lng_credits_box_history_entry_gift_transfer" = "Gift Transfer";
"lng_credits_box_history_entry_gift_unavailable" = "Unavailable";
"lng_credits_box_history_entry_gift_released" = "released by {name}";
"lng_credits_box_history_entry_gift_sold_out" = "This gift has sold out";
"lng_credits_box_history_entry_gift_out_about" = "With Stars, **{user}** will be able to unlock content and services on Telegram.\n{link}";
"lng_credits_box_history_entry_gift_in_about" = "Use Stars to unlock content and services on Telegram. {link}";
@@ -2869,6 +2957,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_credits_box_history_entry_ads" = "Ads Platform";
"lng_credits_box_history_entry_premium_bot" = "Stars Top-Up";
"lng_credits_box_history_entry_currency_in" = "TON Top-Up";
"lng_credits_box_history_entry_posts_search" = "Posts Search";
"lng_credits_box_history_entry_api" = "Paid Broadcast";
"lng_credits_box_history_entry_floodskip_about#one" = "{count} Message";
"lng_credits_box_history_entry_floodskip_about#other" = "{count} Messages";
@@ -2933,6 +3022,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_credits_small_balance_for_message" = "Buy **Stars** to send messages to {user}.";
"lng_credits_small_balance_for_messages" = "Buy **Stars** to send messages.";
"lng_credits_small_balance_for_suggest" = "Buy **Stars** to suggest post to {channel}.";
"lng_credits_small_balance_for_search" = "Buy **Stars** to search through public posts.";
"lng_credits_small_balance_fallback" = "Buy **Stars** to unlock content and services on Telegram.";
"lng_credits_purchase_blocked" = "Sorry, you can't purchase this item with Telegram Stars.";
"lng_credits_enough" = "You have enough stars at the moment. {link}";
@@ -3502,6 +3592,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_ton_amount#one" = "{count} TON";
"lng_gift_ton_amount#other" = "{count} TON";
"lng_gift_premium_title" = "Premium Gift";
"lng_gift_premium_text#one" = "Subscribe to **Telegram Premium** to send up to **{count}** of these gifts and unlock access to multiple additional features.";
"lng_gift_premium_text#other" = "Subscribe to **Telegram Premium** to send up to **{count}** of these gifts and unlock access to multiple additional features.";
"lng_gift_premium_or_stars" = "Gift Premium or Stars";
"lng_gift_premium_subtitle" = "Gift Premium";
"lng_gift_premium_about" = "Give {name} access to exclusive features with Telegram Premium. {features}";
@@ -3510,16 +3603,19 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_premium_by_stars" = "or {amount}";
"lng_gift_stars_subtitle" = "Gift Stars";
"lng_gift_stars_about" = "Give {name} gifts that can be kept on your profile or converted to Stars. {link}";
"lng_gift_stars_about_collectibles" = "Collectible gifts are unique digital items you can exchange or sell. {link}";
"lng_gift_stars_link" = "What are Stars >";
"lng_gift_stars_limited" = "limited";
"lng_gift_stars_sold_out" = "sold out";
"lng_gift_stars_resale" = "resale";
"lng_gift_stars_on_sale" = "on sale";
"lng_gift_stars_premium" = "premium";
"lng_gift_stars_your_left#one" = "{count} left";
"lng_gift_stars_your_left#other" = "{count} left";
"lng_gift_stars_your_finished" = "none left";
"lng_gift_stars_tabs_all" = "All Gifts";
"lng_gift_stars_tabs_my" = "My Gifts";
"lng_gift_stars_tabs_limited" = "Limited";
"lng_gift_stars_tabs_in_stock" = "In Stock";
"lng_gift_stars_tabs_resale" = "Resale";
"lng_gift_stars_tabs_collectibles" = "Collectibles";
"lng_gift_send_title" = "Send a Gift";
"lng_gift_send_message" = "Enter Message";
"lng_gift_send_anonymous" = "Hide My Name";
@@ -3543,6 +3639,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_send_button_self" = "Buy a Gift for {cost}";
"lng_gift_buy_resale_title" = "Buy {name}";
"lng_gift_buy_resale_button" = "Buy for {cost}";
"lng_gift_buy_resale_equals" = "Equals to {cost}";
"lng_gift_buy_resale_only_ton" = "The seller only accepts TON as payment.";
"lng_gift_buy_resale_pay_stars" = "Pay in Stars";
"lng_gift_buy_resale_pay_ton" = "Pay in TON";
"lng_gift_buy_resale_confirm" = "Do you want to buy {name} for {price} and gift it to {user}?";
"lng_gift_buy_resale_confirm_self" = "Do you want to buy {name} for {price}?";
"lng_gift_buy_price_change_title" = "Price change!";
@@ -3552,6 +3652,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_sent_resale_done_self" = "{gift} is now yours.";
"lng_gift_sent_about#one" = "You spent **{count}** Star from your balance.";
"lng_gift_sent_about#other" = "You spent **{count}** Stars from your balance.";
"lng_gift_sent_finished#one" = "You've already sent **{count}** of these gifts, and it's the limit.";
"lng_gift_sent_finished#other" = "You've already sent **{count}** of these gifts, and it's the limit.";
"lng_gift_sent_remains#one" = "You can send **{count}** more.";
"lng_gift_sent_remains#other" = "You can send **{count}** more.";
"lng_gift_limited_of_one" = "unique";
"lng_gift_limited_of_count" = "1 of {amount}";
"lng_gift_collectible_tag" = "gift";
@@ -3564,8 +3668,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_hidden_hint_channel" = "This gift is hidden from visitors of your channel.";
"lng_gift_visible_hint_channel" = "This gift is visible in your channel's Gifts.";
"lng_gift_in_blockchain" = "This gift is in TON blockchain. {link}";
"lng_gift_in_blockchain_link" = "View >";
"lng_gift_visible_hide" = "Hide >";
"lng_gift_in_blockchain_link_arrow" = "View {arrow}";
"lng_gift_visible_hide_arrow" = "Hide {arrow}";
"lng_gift_visible_show_arrow" = "Show {arrow}";
"lng_gift_show_on_page" = "Display on my Page";
"lng_gift_show_on_channel" = "Display in channel's Gifts";
"lng_gift_availability" = "Availability";
@@ -3579,12 +3684,17 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_self_about" = "Buy yourself a gift to display on your page or reserve for later.\n\nLimited-edition gifts upgraded to collectibles can be gifted to others later.";
"lng_gift_channel_title" = "Send a Gift";
"lng_gift_channel_about" = "Select a gift to show appreciation for {name}.";
"lng_gift_released_by" = "released by {name}";
"lng_gift_unique_owner" = "Owner";
"lng_gift_unique_address_copied" = "Address copied to clipboard.";
"lng_gift_unique_telegram" = "Telegram";
"lng_gift_unique_status" = "Status";
"lng_gift_unique_status_non" = "Non-Unique";
"lng_gift_unique_status_upgrade" = "upgrade";
"lng_gift_unique_upgrade" = "Upgrade";
"lng_gift_unique_upgrade_next" = "Upgrade Next Gift";
"lng_gift_unique_gift_upgrade" = "Gift an Upgrade";
"lng_gift_unique_number" = "Collectible #{index}";
"lng_gift_unique_number_by" = "Collectible #{index} by {name}";
"lng_gift_unique_model" = "Model";
"lng_gift_unique_backdrop" = "Backdrop";
"lng_gift_unique_symbol" = "Symbol";
@@ -3592,14 +3702,35 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_unique_availability_label" = "Quantity";
"lng_gift_unique_availability#one" = "{count} of {amount} issued";
"lng_gift_unique_availability#other" = "{count} of {amount} issued";
"lng_gift_unique_value" = "Value";
"lng_gift_unique_value_learn_more" = "learn more";
"lng_gift_unique_info" = "Gifted to {recipient} on {date}.";
"lng_gift_unique_info_sender" = "Gifted by {from} to {recipient} on {date}.";
"lng_gift_unique_info_sender_comment" = "Gifted by {from} to {recipient} on {date} with the comment \"{text}\".";
"lng_gift_unique_info_reciever" = "Gifted to {recipient} on {date}.";
"lng_gift_unique_info_reciever_comment" = "Gifted to {recipient} on {date} with the comment \"{text}\".";
"lng_gift_unique_info_remove_title" = "Remove Description";
"lng_gift_unique_info_remove_text" = "Do you want to permanently remove this description from your gift?";
"lng_gift_unique_info_remove_confirm" = "Remove for {cost}";
"lng_gift_unique_info_removed" = "Removed {name}'s Description!";
"lng_gift_availability_left#one" = "{count} of {amount} left";
"lng_gift_availability_left#other" = "{count} of {amount} left";
"lng_gift_availability_none" = "None of {amount} left";
"lng_gift_value_about_average" = "This is the average sale price of {gift} gifts on Telegram and Fragment over the past month.";
"lng_gift_value_about_last" = "This is the price at which {gift} was last sold on {platform}.";
"lng_gift_value_initial_sale" = "Initial Sale";
"lng_gift_value_initial_price" = "Initial Price";
"lng_gift_value_initial_price_value" = "{stars} ({amount})";
"lng_gift_value_last_sale" = "Last Sale";
"lng_gift_value_last_price" = "Last Price";
"lng_gift_value_minimum_price" = "Minimum Price";
"lng_gift_value_minimum_price_tooltip" = "{amount} is the floor price for {gift} gifts listed on Telegram and Fragment.";
"lng_gift_vlaue_average_price" = "Average Price";
"lng_gift_value_average_price_tooltip" = "{amount} is the average sale price of {gift} gifts on Telegram and Fragment over the past month.";
"lng_gift_value_availability#one" = "{count} {emoji} for sale on {platform} {arrow}";
"lng_gift_value_availability#other" = "{count} {emoji} for sale on {platform} {arrow}";
"lng_gift_value_telegram" = "Telegram";
"lng_gift_value_fragment" = "Fragment";
"lng_gift_convert_to_stars#one" = "Convert to {count} Star";
"lng_gift_convert_to_stars#other" = "Convert to {count} Stars";
"lng_gift_convert_sure_title" = "Convert Gift to Stars";
@@ -3635,11 +3766,22 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_upgrade_preview_about_channel" = "Let the admins of {name} turn your gift into a unique collectible.";
"lng_gift_upgrade_unique_title" = "Unique";
"lng_gift_upgrade_unique_about" = "Get a unique number, model, backdrop and symbol for your gift.";
"lng_gift_upgrade_unique_about_user" = "{name} will get a unique number, model, backdrop and symbol for your gift.";
"lng_gift_upgrade_unique_about_channel" = "Admins of {name} will get a unique number, model, backdrop and symbol for your gift.";
"lng_gift_upgrade_transferable_title" = "Transferable";
"lng_gift_upgrade_transferable_about" = "Send your upgraded gift to any of your friends on Telegram.";
"lng_gift_upgrade_transferable_about_user" = "{name} will be able to send the gift to anyone on Telegram.";
"lng_gift_upgrade_transferable_about_channel" = "Admins of {name} will be able to send the gift to anyone on Telegram.";
"lng_gift_upgrade_tradable_title" = "Tradable";
"lng_gift_upgrade_tradable_about" = "Sell or auction your gift on third-party NFT marketplaces.";
"lng_gift_upgrade_tradable_about_user" = "{name} will be able to sell the gift on Telegram and NFT marketplaces.";
"lng_gift_upgrade_tradable_about_channel" = "Admins of {name} will be able to sell the gift on Telegram and NFT marketplaces.";
"lng_gift_upgrade_button" = "Upgrade for {price}";
"lng_gift_upgrade_decreases" = "Price decreases in {time}";
"lng_gift_upgrade_see_table" = "See how this price will decrease {arrow}";
"lng_gift_upgrade_prices_about" = "Upgrade cost drops every minute.";
"lng_gift_upgrade_prices_title" = "Upgrade Cost";
"lng_gift_upgrade_prices_subtitle" = "Users who upgrade their gifts first get collectibles with shorter numbers.";
"lng_gift_upgrade_free" = "Upgrade for Free";
"lng_gift_upgrade_confirm" = "Confirm";
"lng_gift_upgrade_add_my" = "Add my name to the gift";
@@ -3648,6 +3790,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_upgrade_add_comment" = "Add sender's name and comment";
"lng_gift_upgraded_title" = "Gift Upgraded";
"lng_gift_upgraded_about" = "Your gift {name} now has unique attributes and can be transferred to others";
"lng_gift_upgrade_gifted_title" = "Upgrade Gifted";
"lng_gift_upgrade_gifted_about" = "Now {name} can turn your gift into a unique collectible.";
"lng_gift_upgrade_gifted_about_channel" = "Now the admins of {name} can turn your gift into a unique collectible.";
"lng_gift_transferred_title" = "Gift Transferred";
"lng_gift_transferred_about" = "{name} was successfully transferred to {recipient}.";
"lng_gift_transfer_title" = "Transfer {name}";
@@ -3674,20 +3819,30 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_transfer_sure_for" = "Do you want to transfer ownership of {name} to {recipient} for {price}?";
"lng_gift_transfer_button" = "Transfer";
"lng_gift_transfer_button_for" = "Transfer for {price}";
"lng_gift_transfer_set_theme" = "Set as Theme in...";
"lng_gift_transfer_choose" = "Choose Chat";
"lng_gift_transfer_wear" = "Wear";
"lng_gift_transfer_take_off" = "Take Off";
"lng_gift_transfer_sell" = "Sell";
"lng_gift_transfer_update" = "Change Price";
"lng_gift_transfer_unlist" = "Unlist";
"lng_gift_transfer_locked_title" = "Action Locked";
"lng_gift_transfer_locked_text" = "Transfer this gift to your Telegram account on Fragment to unlock this action.";
"lng_gift_sell_unlist_title" = "Unlist {name}";
"lng_gift_sell_unlist_sure" = "Are you sure you want to unlist your gift?";
"lng_gift_sell_title" = "Price in Stars";
"lng_gift_sell_placeholder" = "Enter price in Stars";
"lng_gift_sell_about" = "You will receive {percent} of the selected amount.";
"lng_gift_sell_amount#one" = "You will receive **{count}** Star.";
"lng_gift_sell_amount#other" = "You will receive **{count}** Stars.";
"lng_gift_sell_min_price#one" = "Minimum price is {count} Star.";
"lng_gift_sell_min_price#other" = "Minimum price is {count} Stars.";
"lng_gift_sell_only_ton" = "Only Accept TON";
"lng_gift_sell_only_ton_about" = "If the buyer pays you in TON, there's no risk of refunds, unlike Stars payments.";
"lng_gift_sell_amount_ton#one" = "You will receive **{count}** TON.";
"lng_gift_sell_amount_ton#other" = "You will receive **{count}** TON.";
"lng_gift_sell_min_price_ton#one" = "Minimum price is {count} TON.";
"lng_gift_sell_min_price_ton#other" = "Minimum price is {count} TON.";
"lng_gift_sell_title_ton" = "Price in TON";
"lng_gift_sell_put" = "Put for Sale";
"lng_gift_sell_update" = "Update the Price";
"lng_gift_sell_toast" = "{name} is now for sale!";
@@ -3727,9 +3882,34 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_gift_resale_symbol" = "Symbol";
"lng_gift_resale_symbols#one" = "{count} Symbol";
"lng_gift_resale_symbols#other" = "{count} Symbols";
"lng_gift_resale_switch_to_ton" = "Switch to Ton";
"lng_gift_resale_switch_to_stars" = "Switch to Stars";
"lng_gift_resale_early" = "You will be able to resell this gift in {duration}.";
"lng_gift_transfer_early" = "You will be able to transfer this gift in {duration}.";
"lng_gift_resale_transfer_early_title" = "Try Later";
"lng_gift_collection_add" = "Add Collection";
"lng_gift_collection_new_title" = "Create a New Collection";
"lng_gift_collection_new_button" = "New Collection";
"lng_gift_collection_new_text" = "Choose a name for your collection and start adding your gifts there.";
"lng_gift_collection_new_ph" = "Title";
"lng_gift_collection_new_create" = "Create";
"lng_gift_collection_empty_title" = "Organize Your Gifts";
"lng_gift_collection_empty_text" = "Add some of your gifts to this collection.";
"lng_gift_collection_all" = "All Gifts";
"lng_gift_collection_add_title" = "Add Gifts";
"lng_gift_collection_add_button" = "Add Gifts";
"lng_gift_collection_share" = "Share Collection";
"lng_gift_collection_edit" = "Edit Name";
"lng_gift_collection_limit_title" = "Limit Reached";
"lng_gift_collection_limit_text" = "Please remove one of the existing collections to add a new one.";
"lng_gift_collection_delete" = "Delete Collection";
"lng_gift_collection_delete_sure" = "Are you sure you want to delete this collection?";
"lng_gift_collection_delete_button" = "Delete";
"lng_gift_collection_add_to" = "Add to Collection";
"lng_gift_collection_reorder" = "Reorder";
"lng_gift_collection_reorder_exit" = "Apply Reorder";
"lng_gift_collection_remove_from" = "Remove from Collection";
"lng_gift_locked_title" = "Gift Locked";
"lng_accounts_limit_title" = "Limit Reached";
"lng_accounts_limit1#one" = "You have reached the limit of **{count}** connected account.";
@@ -4048,6 +4228,22 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_dialogs_suggestions_credits_sub_low_title#other" = "{emoji} {count} Stars needed for {channels}";
"lng_dialogs_suggestions_credits_sub_low_about" = "Insufficient funds to cover your subscription.";
"lng_unconfirmed_auth_title" = "Someone just got access to your messages!";
"lng_unconfirmed_auth_confirm" = "Yes, its me";
"lng_unconfirmed_auth_deny" = "No, its not me!";
"lng_unconfirmed_auth_single" = "We detected a new login to your account from {from}, {country}. Is it you?";
"lng_unconfirmed_auth_multiple#one" = "We detected new {count} login to your account. Is it you?";
"lng_unconfirmed_auth_multiple#other" = "We detected new {count} logins to your account. Is it you?";
"lng_unconfirmed_auth_multiple_from#one" = "We detected new {count} login to your account from {country}. Is it you?";
"lng_unconfirmed_auth_multiple_from#other" = "We detected new {count} logins to your account from {country}. Is it you?";
"lng_unconfirmed_auth_denied_title#one" = "New Login Prevented";
"lng_unconfirmed_auth_denied_title#other" = "New Logins Prevented";
"lng_unconfirmed_auth_denied_single" = "We have terminated the login attempt from {country}.";
"lng_unconfirmed_auth_denied_multiple" = "We have terminated the login attempts from: {country}";
"lng_unconfirmed_auth_denied_warning" = "Never send your login code to anyone or you can lose your Telegram account!";
"lng_unconfirmed_auth_confirmed" = "New Login Allowed";
"lng_unconfirmed_auth_confirmed_message" = "You can check the list of your active logins in {link}.";
"lng_about_random" = "Send a {emoji} emoji to any chat to try your luck.";
"lng_about_random_send" = "Send";
@@ -4198,6 +4394,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_context_view_group" = "View group info";
"lng_context_view_channel" = "View channel info";
"lng_context_view_topic" = "View topic info";
"lng_context_view_thread" = "View thread info";
"lng_context_hide_psa" = "Hide this announcement";
"lng_context_pin_to_top" = "Pin";
"lng_context_unpin_from_top" = "Unpin";
@@ -4215,6 +4412,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_context_archive_to_list" = "Move to chat list";
"lng_context_archive_to_menu_info" = "Archive moved to the main menu!\nRight click the archive button to return the Archive to your chat list.";
"lng_context_archive_settings" = "Archive settings";
"lng_context_archive_how_does_it_work" = "How does it work?";
"lng_context_mute" = "Mute notifications";
"lng_context_unmute" = "Unmute";
@@ -4226,6 +4424,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_context_remove_from_group" = "Remove from group";
"lng_context_add_to_group" = "Add to group";
"lng_context_rate_transcription" = "Rate transcription";
"lng_toast_sent_rate_transcription" = "Thank you for your feedback!";
"lng_context_copy_link" = "Copy Link";
"lng_context_copy_message_link" = "Copy Message Link";
"lng_context_copy_post_link" = "Copy Post Link";
@@ -4245,6 +4446,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_context_pack_info" = "View Sticker Set";
"lng_context_pack_add" = "Add Stickers";
"lng_context_save_file" = "Save As...";
"lng_context_save_music_to" = "Save to...";
"lng_context_save_music_profile" = "... Profile";
"lng_context_save_music_saved" = "... Saved Messages";
"lng_context_save_music_folder" = "... Downloads";
"lng_context_save_music_about" = "Choose where you want this audio to be saved.";
"lng_context_copy_text" = "Copy Text";
"lng_context_open_gif" = "Open GIF";
"lng_context_save_gif" = "Add to GIFs";
@@ -4255,6 +4461,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_context_to_msg" = "Go To Message";
"lng_context_reply_msg" = "Reply";
"lng_context_quote_and_reply" = "Quote & Reply";
"lng_context_reply_to_task" = "Reply to Task";
"lng_context_edit_msg" = "Edit";
"lng_context_add_factcheck" = "Add Fact Check";
"lng_context_edit_factcheck" = "Edit Fact Check";
@@ -4310,6 +4517,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_context_edit_shortcut" = "Edit Shortcut";
"lng_context_delete_shortcut" = "Delete Quick Reply";
"lng_context_gift_send" = "Send Another Gift";
"lng_context_charge_fee" = "Charge Fee";
"lng_context_remove_fee" = "Remove Fee";
"lng_context_fee_now" = "{name} pays {amount} per message.";
"lng_context_fee_free" = "{name} can send messages for free.";
"lng_add_tag_about" = "Tag this message with an emoji for quick search.";
"lng_subscribe_tag_about" = "Organize your Saved Messages with tags. {link}";
@@ -4320,6 +4531,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_add_tag_phrase" = "to messages {arrow}";
"lng_add_tag_phrase_long" = "to your Saved Messages {arrow}";
"lng_unlock_tags" = "Unlock";
"lng_add_tag_selector#one" = "You can add a tag to the message";
"lng_add_tag_selector#other" = "You can add a tag to the messages";
"lng_message_tagged_with" = "Message tagged with {emoji}";
"lng_tagged_view_saved" = "View";
"lng_context_animated_emoji" = "This message contains emoji from **{name} pack**.";
"lng_context_animated_emoji_many#one" = "This message contains emoji from **{count} pack**.";
@@ -4441,6 +4656,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_inline_switch_cant" = "Sorry, no way to write here :(";
"lng_preview_reply_to" = "Reply to {name}";
"lng_preview_reply_to_quote" = "Reply to quote from {name}";
"lng_preview_reply_to_task" = "Reply to task from {title}";
"lng_suggest_bar_title" = "Suggest a Post Below";
"lng_suggest_bar_text" = "Click to offer a price for publishing.";
@@ -4469,6 +4685,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_suggest_options_offer" = "Offer {amount}";
"lng_suggest_options_offer_free" = "Offer for Free";
"lng_suggest_options_update" = "Update Terms";
"lng_suggest_options_update_date" = "Update Time";
"lng_suggest_action_decline" = "Decline";
"lng_suggest_action_accept" = "Accept";
@@ -4599,6 +4816,16 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_contact_phone_after" = "Phone number will be visible once {user} adds you as a contact.";
"lng_contact_share_phone" = "Share my phone number";
"lng_contact_phone_will_be_shared" = "You can make your phone visible to {user}.";
"lng_contact_add_notes" = "Note";
"lng_contact_add_notes_about" = "Notes are only visible to you.";
"lng_contact_notes_limit_reached#one" = "You've reached the contact note limit. Please make the note shorter by {count} character.";
"lng_contact_notes_limit_reached#other" = "You've reached the contact note limit. Please make the note shorter by {count} characters.";
"lng_suggest_photo_for" = "Suggest Photo for {user}";
"lng_suggest_birthday" = "Suggest Date of Birth";
"lng_suggest_birthday_box_title" = "{user}'s Date of Birth";
"lng_suggest_birthday_box_confirm" = "Suggest";
"lng_set_photo_for_user" = "Set Photo for {user}";
"lng_contact_photo_replace_info" = "You can replace {user}'s photo with another photo that only you will see.";
"lng_edit_contact_title" = "Edit contact";
"lng_edit_channel_title" = "Edit channel";
"lng_edit_bot_title" = "Edit bot";
@@ -4652,6 +4879,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_selected_delete_sure_this" = "Do you want to delete this message?";
"lng_selected_delete_sure#one" = "Do you want to delete {count} message?";
"lng_selected_delete_sure#other" = "Do you want to delete {count} messages?";
"lng_selected_remove_saved_music" = "Do you want to remove this file from your profile?";
"lng_saved_music_added" = "Audio added to your Profile.";
"lng_saved_music_removed" = "Audio removed from your Profile.";
"lng_delete_photo_sure" = "Do you want to delete this photo?";
"lng_delete_for_everyone_hint#one" = "This will delete it for everyone in this chat.";
"lng_delete_for_everyone_hint#other" = "This will delete them for everyone in this chat.";
@@ -4831,8 +5061,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_payments_webview_no_use" = "Unfortunately, you can't use payments with current system configuration.";
"lng_payments_webview_install_edge" = "Please install {link}.";
"lng_payments_webview_install_webkit" = "Please install WebKitGTK (webkit2gtk-4.1/webkit2gtk-4.0) using your package manager.";
"lng_payments_webview_enable_opengl" = "Please enable OpenGL in application settings.";
"lng_payments_webview_switch_x11" = "Unsupported display server. Please switch to X11.";
"lng_payments_webview_update_windows" = "Please update your system to Windows 8.1 or later.";
"lng_payments_sure_close" = "Are you sure you want to close this payment form? The changes you made will be lost.";
"lng_payments_receipt_label" = "Receipt";
@@ -4983,6 +5211,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_group_call_raised_hand_status" = "wants to speak";
"lng_group_call_settings" = "Settings";
"lng_group_call_video" = "Video";
"lng_group_call_message" = "Message";
"lng_group_call_screen_share_start" = "Share Screen";
"lng_group_call_screen_share_stop" = "Stop Sharing";
"lng_group_call_screen_title" = "Screen {index}";
@@ -5044,6 +5273,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_group_call_invite_search_results" = "Search results";
"lng_group_call_invite_limit" = "This is currently the maximum allowed number of participants.";
"lng_group_call_new_muted" = "Mute new participants";
"lng_group_call_enable_messages" = "Enable messages";
"lng_group_call_speakers" = "Speakers";
"lng_group_call_microphone" = "Microphone";
"lng_group_call_push_to_talk" = "Push-to-Talk Shortcut";
@@ -5311,6 +5541,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_payment_bar_button" = "Remove Fee";
"lng_payment_refund_title" = "Remove Fee";
"lng_payment_refund_text" = "Are you sure you want to allow {name} to message you for free?";
"lng_payment_refund_channel" = "Do you want to allow {name} to message the channel for free?";
"lng_payment_refund_also#one" = "Refund already paid {count} Star";
"lng_payment_refund_also#other" = "Refund already paid {count} Stars";
"lng_payment_refund_confirm" = "Confirm";
@@ -5965,6 +6196,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_polls_stop" = "Stop poll";
"lng_polls_stop_warning" = "If you stop this poll now, nobody will be able to vote in it anymore. This action cannot be undone.";
"lng_polls_stop_sure" = "Stop";
"lng_polls_menu_item" = "Poll";
"lng_polls_create" = "Create poll";
"lng_polls_create_title" = "New poll";
"lng_polls_create_question" = "Question";
@@ -5995,6 +6227,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_todo_title" = "Checklist";
"lng_todo_title_group" = "Group Checklist";
"lng_todo_title_user" = "Checklist";
"lng_todo_completed#one" = "{count} of {total} completed";
"lng_todo_completed#other" = "{count} of {total} completed";
"lng_todo_completed_none" = "None of {total} completed";
@@ -6175,6 +6408,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_chat_theme_change_wallpaper" = "Change Wallpaper";
"lng_chat_theme_title" = "Select theme";
"lng_chat_theme_cant_voice" = "Sorry, you can't change the chat theme while you have an unsent voice message.";
"lng_chat_theme_gift_replace" = "This gift is already your theme in the chat with {name}. Remove it there and use it here instead?";
"lng_photo_editor_menu_delete" = "Delete";
"lng_photo_editor_menu_flip" = "Flip";
@@ -6207,10 +6441,14 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_view_button_emojipack" = "View emoji";
"lng_view_button_collectible" = "View collectible";
"lng_view_button_call" = "Join call";
"lng_view_button_storyalbum" = "View Album";
"lng_view_button_collection" = "View Collection";
"lng_sponsored_hide_ads" = "Hide";
"lng_sponsored_title" = "What are sponsored messages?";
"lng_sponsored_info_description1" = "Unlike other apps, Telegram never uses your private data to target ads. Sponsored messages on Telegram are based solely on the topic of the public channels in which they are shown. This means that no user data is mined or analyzed to display ads, and every user viewing a channel on Telegram sees the same sponsored messages.\n\nUnlike other apps, Telegram doesn't track whether you tapped on a sponsored message and doesn't profile you based on your activity. We also prevent external links in sponsored messages to ensure that third parties cant spy on our users. We believe that everyone has the right to privacy, and technological platforms should respect that.\n\nTelegram offers a free and unlimited service to hundreds of millions of users, which involves significant server and traffic costs. In order to remain independent and stay true to its values, Telegram developed a paid tool to promote messages with user privacy in mind. We welcome responsible advertisers at:";
"lng_sponsored_info_description1_linked" = "Unlike other apps, Telegram never uses your private data to target ads. {link}\n\nUnlike other apps, Telegram doesn't track whether you tapped on a sponsored message and doesn't profile you based on your activity. We also prevent external links in sponsored messages to ensure that third parties cant spy on our users. We believe that everyone has the right to privacy, and technological platforms should respect that.\n\nTelegram offers free and unlimited service to hundreds of millions of users, which involves significant server and traffic costs. In order to remain independent and stay true to its values, Telegram developed a paid tool to promote messages with user privacy in mind. We welcome responsible advertisers at:";
"lng_sponsored_info_description1_link" = "Learn more in the Privacy Policy";
"lng_sponsored_info_description1_url" = "https://telegram.org/privacy#5-6-no-ads-based-on-user-data";
"lng_sponsored_info_description2" = "Sponsored Messages are currently in test mode. Once they are fully launched and allow Telegram to cover its basic costs, we will start sharing ad revenue with the owners of public channels in which sponsored messages are displayed.\n\nOnline ads should no longer be synonymous with abuse of user privacy. Let us redefine how a tech company should operate together.";
"lng_sponsored_info_menu" = "Advertiser info";
"lng_sponsored_info_submenu" = "Advertiser: {text}";
@@ -6247,6 +6485,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_ringtones_box_title" = "Notification Sound";
"lng_ringtones_box_cloud_subtitle" = "Choose your tone";
"lng_ringtones_box_volume" = "Volume";
"lng_ringtones_box_upload_choose" = "Choose a tone";
"lng_ringtones_box_upload_button" = "Upload Sound";
"lng_ringtones_box_about" = "Right click on any short voice note or MP3 file in chat and select \"Save for Notifications\". It will appear here.";
@@ -6256,6 +6495,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_ringtones_error_max_size" = "Sorry, but your file is too big. The maximum size for ringtones is {size}.";
"lng_ringtones_error_max_duration" = "Sorry, but your file is too long. The maximum duration for ringtones is {duration}.";
"lng_bot_thread_edit" = "Edit Thread";
"lng_bot_thread_title" = "Thread Name";
"lng_bot_thread_choose_title_and_icon" = "Choose a thread name and icon";
"lng_forum_topic_new" = "New Topic";
"lng_forum_topic_edit" = "Edit Topic";
"lng_forum_topic_title" = "Topic Name";
@@ -6371,6 +6614,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_stories_archive_title" = "Story Archive";
"lng_stories_archive_about" = "Only you can see archived stories unless you choose to post them to your profile.";
"lng_stories_channel_archive_about" = "Only admins of the channel can see archived stories unless they are posted to the channel page.";
"lng_stories_empty" = "Your stories will be here.";
"lng_stories_empty_channel" = "Channel posts will be here.";
"lng_stories_reply_sent" = "Message sent.";
"lng_stories_hidden_to_contacts" = "Stories from {user} were moved to the **Archive**.";
"lng_stories_shown_in_chats" = "Stories from {user} were returned from the **Archive**.";
@@ -6406,6 +6651,26 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_stories_save_promo" = "Subscribe to {link} to save other people's stories that are not protected.";
"lng_stories_reaction_as_message" = "Send reaction as a private message";
"lng_stories_album_add" = "Add Album";
"lng_stories_album_new_title" = "Create a New Album";
"lng_stories_album_new_button" = "New Album";
"lng_stories_album_new_text" = "Choose a name for your album and start adding your stories there.";
"lng_stories_album_new_ph" = "Title";
"lng_stories_album_new_create" = "Create";
"lng_stories_album_empty_title" = "Organize Your Stories";
"lng_stories_album_empty_text" = "Add some of your stories to this album.";
"lng_stories_album_all" = "All Stories";
"lng_stories_album_add_title" = "Add Stories";
"lng_stories_album_add_button" = "Add Stories";
"lng_stories_album_share" = "Share Album";
"lng_stories_album_edit" = "Edit Name";
"lng_stories_album_limit_title" = "Limit Reached";
"lng_stories_album_limit_text" = "Please remove one of the existing albums to add a new one.";
"lng_stories_album_delete" = "Delete Album";
"lng_stories_album_delete_sure" = "Are you sure you want to delete this album?";
"lng_stories_album_delete_button" = "Delete";
"lng_stories_album_add_to" = "Add to Album";
"lng_stealth_mode_menu_item" = "Hide My View";
"lng_stealth_mode_title" = "Stealth Mode";
"lng_stealth_mode_unlock_about" = "Subscribe to Telegram Premium to watch stories without appearing in the list of viewers.";
@@ -6662,6 +6927,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_recent_chats" = "Chats";
"lng_recent_channels" = "Channels";
"lng_recent_apps" = "Apps";
"lng_recent_posts" = "Posts";
"lng_all_photos" = "Photos";
"lng_all_videos" = "Videos";
"lng_all_downloads" = "Downloads";
@@ -6679,6 +6945,22 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_bot_apps_popular" = "Grossing apps";
"lng_bot_apps_which" = "Which apps are included here? {link}";
"lng_bot_apps_which_link" = "Learn >";
"lng_posts_title" = "Global Search";
"lng_posts_start" = "Type a keyword to search all posts from public channels.";
"lng_posts_subscribe" = "Subscribe to Premium";
"lng_posts_need_subscribe" = "Global search is a Premium feature.";
"lng_posts_search_button" = "Search {query}";
"lng_posts_remaining#one" = "{count} free search remaining today";
"lng_posts_remaining#other" = "{count} free searches remaining today";
"lng_posts_subtitle_empty" = "Telegram News";
"lng_posts_subtitle" = "Public posts";
"lng_posts_limit_reached" = "Limit Reached";
"lng_posts_limit_about#one" = "You can make up to {count} search query per day.";
"lng_posts_limit_about#other" = "You can make up to {count} search queries per day.";
"lng_posts_limit_search_paid" = "Search for {cost}";
"lng_posts_limit_unlocks" = "free search unlocks in {duration}";
"lng_posts_paid_spent#one" = "**{count} Star** spent on extra search.";
"lng_posts_paid_spent#other" = "**{count} Stars** spent on extra search.";
"lng_popular_apps_info_title" = "Top Mini Apps";
"lng_popular_apps_info_text" = "This catalogue ranks mini apps based on their daily revenue, measured in Stars. To be listed, developers must set their main mini apps in {bot} (as described {link}), have over **1,000** daily users, and earn a daily revenue above **1,000** Stars, based on the weekly average.";
@@ -6739,6 +7021,13 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_frozen_text3" = "Appeal via {link} before {date}, or your account will be deleted.";
"lng_frozen_appeal_button" = "Submit an Appeal";
"lng_age_verify_title" = "Age Verification";
"lng_age_verify_mobile" = "Please open this media in the official Telegram app for Android or iOS to verify your age.";
"lng_age_verify_here" = "This is a one-time process using your phone's camera. Your selfie will not be stored by Telegram.";
"lng_age_verify_button" = "Verify My Age";
"lng_age_verify_sorry_title" = "Age Check Failed";
"lng_age_verify_sorry_text" = "Sorry, you can't view 18+ content.";
"lng_context_bank_card_copy" = "Copy Card Number";
"lng_context_bank_card_copied" = "Card number copied to clipboard.";

View File

@@ -51,8 +51,8 @@ var LocationPicker = {
},
init: function (params) {
mapboxgl.accessToken = params.token;
if (params.protocol) {
mapboxgl.config.API_URL = params.protocol + '://domain/api.mapbox.com';
if (location.hostname != 'desktop-app-resource') {
mapboxgl.config.API_URL = location.protocol + '//' + location.host + '/api.mapbox.com';
}
var options = { container: 'map', config: {

View File

@@ -38,6 +38,13 @@
<file alias="topics_tabs.tgs">../../animations/edit_peers/topics_tabs.tgs</file>
<file alias="topics_list.tgs">../../animations/edit_peers/topics_list.tgs</file>
<file alias="direct_messages.tgs">../../animations/edit_peers/direct_messages.tgs</file>
<file alias="no_chats.tgs">../../animations/no_chats.tgs</file>
<file alias="transcribe_loading.tgs">../../animations/transcribe_loading.tgs</file>
<file alias="cake.tgs">../../animations/cake.tgs</file>
<file alias="camera_outline.tgs">../../animations/camera_outline.tgs</file>
<file alias="photo_suggest_icon.tgs">../../animations/photo_suggest_icon.tgs</file>
<file alias="toast/saved_messages.tgs">../../animations/toast/saved_messages.tgs</file>
<file alias="toast/tagged.tgs">../../animations/toast/tagged.tgs</file>
<file alias="dice_idle.tgs">../../animations/dice/dice_idle.tgs</file>
<file alias="dart_idle.tgs">../../animations/dice/dart_idle.tgs</file>

View File

@@ -10,5 +10,6 @@
<file alias="group_call_connect.mp3">../../sounds/group_call_connect.mp3</file>
<file alias="group_call_end.mp3">../../sounds/group_call_end.mp3</file>
<file alias="group_call_allowed.mp3">../../sounds/group_call_allowed.mp3</file>
<file alias="group_call_recording_start.mp3">../../sounds/group_call_recording_start.mp3</file>
</qresource>
</RCC>

View File

@@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="5.16.0.0" />
Version="6.2.0.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,16,0,0
PRODUCTVERSION 5,16,0,0
FILEVERSION 6,2,0,0
PRODUCTVERSION 6,2,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "5.16.0.0"
VALUE "FileVersion", "6.2.0.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "5.16.0.0"
VALUE "ProductVersion", "6.2.0.0"
END
END
BLOCK "VarFileInfo"

View File

@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,16,0,0
PRODUCTVERSION 5,16,0,0
FILEVERSION 6,2,0,0
PRODUCTVERSION 6,2,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "5.16.0.0"
VALUE "FileVersion", "6.2.0.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "5.16.0.0"
VALUE "ProductVersion", "6.2.0.0"
END
END
BLOCK "VarFileInfo"

View File

@@ -9,10 +9,13 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "apiwrap.h"
#include "base/unixtime.h"
#include "core/changelogs.h"
#include "core/application.h"
#include "core/changelogs.h"
#include "core/core_settings.h"
#include "lang/lang_keys.h"
#include "main/main_app_config.h"
#include "main/main_session_settings.h"
#include "main/main_session.h"
namespace Api {
namespace {
@@ -83,7 +86,19 @@ Authorizations::Entry ParseEntry(const MTPDauthorization &data) {
} // namespace
Authorizations::Authorizations(not_null<ApiWrap*> api)
: _api(&api->instance()) {
: _api(&api->instance())
, _autoconfirmPeriod([=] {
constexpr auto kFallbackCount = 604800;
return api->session().appConfig().get<int>(
u"authorization_autoconfirm_period"_q,
kFallbackCount);
})
, _saveUnreviewed([=] {
api->session().settings().setUnreviewed(_unreviewed);
api->session().saveSettingsDelayed();
}) {
_unreviewed = api->session().settings().unreviewed();
crl::on_main(&api->session(), [=] { removeExpiredUnreviewed(); });
Core::App().settings().deviceModelChanges(
) | rpl::start_with_next([=](const QString &model) {
auto changed = false;
@@ -119,6 +134,7 @@ void Authorizations::reload() {
) | ranges::views::transform([](const MTPAuthorization &auth) {
return ParseEntry(auth.data());
}) | ranges::to<List>;
removeExpiredUnreviewed();
refreshCallsDisabledHereFromCloud();
_listChanges.fire({});
}).fail([=] {
@@ -217,11 +233,7 @@ void Authorizations::toggleCallsDisabled(uint64 hash, bool disabled) {
MTP_bool(disabled)
)).done([=] {
_toggleCallsDisabledRequests.remove(hash);
}).fail([=](const MTP::Error &error) {
LOG(("API Error: toggle calls %1. Hash: %2. %3.")
.arg(disabled ? u"disabled"_q : u"enabled"_q)
.arg(hash)
.arg(error.type()));
}).fail([=] {
_toggleCallsDisabledRequests.remove(hash);
}).send();
_toggleCallsDisabledRequests.emplace(hash, id);
@@ -265,4 +277,129 @@ crl::time Authorizations::lastReceivedTime() {
return _lastReceived;
}
const std::vector<Data::UnreviewedAuth> &Authorizations::unreviewed() {
removeExpiredUnreviewed();
return _unreviewed;
}
void Authorizations::removeExpiredUnreviewed() {
const auto now = base::unixtime::now();
const auto period = _autoconfirmPeriod();
const auto oldSize = _unreviewed.size();
_unreviewed.erase(
std::remove_if(_unreviewed.begin(), _unreviewed.end(),
[=](const auto &auth) {
return (now - auth.date) >= period;
}),
_unreviewed.end());
if (_unreviewed.size() != oldSize) {
_saveUnreviewed();
}
}
void Authorizations::review(const std::vector<uint64> &hashes, bool confirm) {
for (const auto hash : hashes) {
if (const auto sent = _reviewRequests.take(hash)) {
_api.request(*sent).cancel();
}
}
const auto checkComplete = [=] {
if (_reviewRequests.empty()) {
_saveUnreviewed();
_unreviewedChanges.fire({});
}
};
for (const auto hash : hashes) {
const auto removeFromUnreviewed = [=] {
_unreviewed.erase(
std::remove_if(_unreviewed.begin(), _unreviewed.end(),
[hash](const auto &auth) { return auth.hash == hash; }),
_unreviewed.end());
_reviewRequests.remove(hash);
checkComplete();
};
if (confirm) {
using Flag = MTPaccount_ChangeAuthorizationSettings::Flag;
const auto id = _api.request(MTPaccount_ChangeAuthorizationSettings(
MTP_flags(Flag::f_confirmed),
MTP_long(hash),
MTPBool(), // encrypted_requests_disabled
MTPBool() // call_requests_disabled
)).done([=] {
removeFromUnreviewed();
}).fail([=] {
removeFromUnreviewed();
}).send();
_reviewRequests.emplace(hash, id);
} else {
const auto id = _api.request(MTPaccount_ResetAuthorization(
MTP_long(hash)
)).done([=](const MTPBool &result) {
if (mtpIsTrue(result)) {
_list.erase(
ranges::remove(_list, hash, &Entry::hash),
end(_list));
_listChanges.fire({});
}
removeFromUnreviewed();
}).fail([=] {
removeFromUnreviewed();
}).send();
_reviewRequests.emplace(hash, id);
}
}
}
rpl::producer<> Authorizations::unreviewedChanges() const {
return _unreviewedChanges.events();
}
void Authorizations::apply(const MTPUpdate &update) {
removeExpiredUnreviewed();
update.match([&](const MTPDupdateNewAuthorization &data) {
auto unreviewed = Data::UnreviewedAuth{
.hash = data.vhash().v,
.unconfirmed = data.is_unconfirmed(),
.date = data.vdate().value_or_empty(),
.device = qs(data.vdevice().value_or_empty()),
.location = qs(data.vlocation().value_or_empty())
};
if (!unreviewed.unconfirmed) {
const auto hash = unreviewed.hash;
const auto was = _unreviewed.size();
_unreviewed.erase(
std::remove_if(
_unreviewed.begin(),
_unreviewed.end(),
[hash](const auto &auth) { return auth.hash == hash; }),
_unreviewed.end());
if (was != _unreviewed.size()) {
_saveUnreviewed();
_unreviewedChanges.fire({});
}
return;
}
for (auto &auth : _unreviewed) {
if (auth.hash == unreviewed.hash) {
auth = std::move(unreviewed);
_saveUnreviewed();
_unreviewedChanges.fire({});
return;
}
}
_unreviewed.push_back(std::move(unreviewed));
_saveUnreviewed();
_unreviewedChanges.fire({});
}, [](auto&&) {
Unexpected("Update in Authorizations::apply.");
});
}
} // namespace Api

View File

@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "data/data_authorization.h"
#include "mtproto/sender.h"
class ApiWrap;
@@ -35,6 +36,8 @@ public:
Fn<void(const MTP::Error &error)> &&fail,
std::optional<uint64> hash = std::nullopt);
void apply(const MTPUpdate &update);
[[nodiscard]] crl::time lastReceivedTime();
[[nodiscard]] List list() const;
@@ -42,6 +45,11 @@ public:
[[nodiscard]] int total() const;
[[nodiscard]] rpl::producer<int> totalValue() const;
[[nodiscard]] const std::vector<Data::UnreviewedAuth> &unreviewed();
[[nodiscard]] rpl::producer<> unreviewedChanges() const;
void review(const std::vector<uint64> &hashes, bool confirm);
void updateTTL(int days);
[[nodiscard]] rpl::producer<int> ttlDays() const;
@@ -57,6 +65,7 @@ public:
private:
void refreshCallsDisabledHereFromCloud();
void removeExpiredUnreviewed();
MTP::Sender _api;
mtpRequestId _requestId = 0;
@@ -64,10 +73,16 @@ private:
List _list;
rpl::event_stream<> _listChanges;
Fn<int()> _autoconfirmPeriod;
std::vector<Data::UnreviewedAuth> _unreviewed;
rpl::event_stream<> _unreviewedChanges;
Fn<void()> _saveUnreviewed;
mtpRequestId _ttlRequestId = 0;
rpl::variable<int> _ttlDays = 0;
base::flat_map<uint64, mtpRequestId> _toggleCallsDisabledRequests;
base::flat_map<uint64, mtpRequestId> _reviewRequests;
rpl::variable<bool> _callsDisabledHere;
crl::time _lastReceived = 0;

View File

@@ -245,7 +245,7 @@ void SendBotCallbackDataWithPassword(
fields.customSubmitButton = tr::lng_passcode_submit();
fields.customCheckCallback = [=](
const Core::CloudPasswordResult &result,
QPointer<PasscodeBox> box) {
base::weak_qptr<PasscodeBox> box) {
if (const auto button = getButton()) {
if (button->requestId) {
return;

View File

@@ -57,7 +57,7 @@ void RemoveChatFilter(
RemoveComplexChatFilter::RemoveComplexChatFilter() = default;
void RemoveComplexChatFilter::request(
QPointer<Ui::RpWidget> widget,
base::weak_qptr<Ui::RpWidget> widget,
base::weak_ptr<Window::SessionController> weak,
FilterId id) {
const auto session = &weak->session();

View File

@@ -22,7 +22,7 @@ public:
RemoveComplexChatFilter();
void request(
QPointer<Ui::RpWidget> widget,
base::weak_qptr<Ui::RpWidget> widget,
base::weak_ptr<Window::SessionController> weak,
FilterId id);

View File

@@ -142,13 +142,12 @@ void ConfirmSubscriptionBox(
const auto content = box->verticalLayout();
Ui::AddSkip(content, st::confirmInvitePhotoTop);
const auto userpicWrap = content->add(
object_ptr<Ui::CenterWrap<>>(
content,
object_ptr<Ui::RpWidget>(content)));
const auto userpic = userpicWrap->entity();
const auto userpic = content->add(
object_ptr<Ui::RpWidget>(content),
style::al_top);
const auto photoSize = st::confirmInvitePhotoSize;
userpic->resize(Size(photoSize));
userpic->setNaturalWidth(photoSize);
const auto creditsIconSize = photoSize / 3;
const auto creditsIconCallback =
Ui::PaintOutlinedColoredCreditsIconCallback(
@@ -188,8 +187,8 @@ void ConfirmSubscriptionBox(
}
auto p = QPainter(userpic);
p.drawImage(0, 0, state->frame);
}, userpicWrap->lifetime());
userpicWrap->setAttribute(Qt::WA_TransparentForMouseEvents);
}, userpic->lifetime());
userpic->setAttribute(Qt::WA_TransparentForMouseEvents);
if (photo) {
state->photoMedia = photo->createMediaView();
state->photoMedia->wanted(Data::PhotoSize::Small, Data::FileOrigin());
@@ -197,7 +196,7 @@ void ConfirmSubscriptionBox(
session->downloaderTaskFinished(
) | rpl::start_with_next([=] {
userpic->update();
}, userpicWrap->entity()->lifetime());
}, userpic->lifetime());
}
} else {
state->photoEmpty = std::make_unique<Ui::EmptyUserpic>(
@@ -215,43 +214,40 @@ void ConfirmSubscriptionBox(
2.);
box->addRow(
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
object_ptr<Ui::FlatLabel>(
box,
object_ptr<Ui::FlatLabel>(
box,
tr::lng_channel_invite_subscription_title(),
st::inviteLinkSubscribeBoxTitle)));
tr::lng_channel_invite_subscription_title(),
st::inviteLinkSubscribeBoxTitle),
style::al_top);
box->addRow(
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
object_ptr<Ui::FlatLabel>(
box,
object_ptr<Ui::FlatLabel>(
box,
tr::lng_channel_invite_subscription_about(
lt_channel,
rpl::single(Ui::Text::Bold(name)),
lt_price,
tr::lng_credits_summary_options_credits(
lt_count,
rpl::single(amount) | tr::to_count(),
Ui::Text::Bold),
Ui::Text::WithEntities),
st::inviteLinkSubscribeBoxAbout)));
tr::lng_channel_invite_subscription_about(
lt_channel,
rpl::single(Ui::Text::Bold(name)),
lt_price,
tr::lng_credits_summary_options_credits(
lt_count,
rpl::single(amount) | tr::to_count(),
Ui::Text::Bold),
Ui::Text::WithEntities),
st::inviteLinkSubscribeBoxAbout),
style::al_top);
Ui::AddSkip(content);
box->addRow(
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
object_ptr<Ui::FlatLabel>(
box,
object_ptr<Ui::FlatLabel>(
box,
tr::lng_channel_invite_subscription_terms(
lt_link,
rpl::combine(
tr::lng_paid_react_agree_link(),
tr::lng_group_invite_subscription_about_url()
) | rpl::map([](const QString &text, const QString &url) {
return Ui::Text::Link(text, url);
}),
Ui::Text::RichLangValue),
st::inviteLinkSubscribeBoxTerms)));
tr::lng_channel_invite_subscription_terms(
lt_link,
rpl::combine(
tr::lng_paid_react_agree_link(),
tr::lng_group_invite_subscription_about_url()
) | rpl::map([](const QString &text, const QString &url) {
return Ui::Text::Link(text, url);
}),
Ui::Text::RichLangValue),
st::inviteLinkSubscribeBoxTerms),
style::al_top);
{
const auto balance = Settings::AddBalanceWidget(
@@ -272,7 +268,7 @@ void ConfirmSubscriptionBox(
}, balance->lifetime());
}
const auto sendCredits = [=, weak = Ui::MakeWeak(box)] {
const auto sendCredits = [=, weak = base::make_weak(box)] {
const auto show = box->uiShow();
const auto buttonWidth = state->saveButton
? state->saveButton->width()
@@ -280,7 +276,7 @@ void ConfirmSubscriptionBox(
const auto finish = [=] {
state->api = std::nullopt;
state->loading.force_assign(false);
if (const auto strong = weak.data()) {
if (const auto strong = weak.get()) {
strong->closeBox();
}
};
@@ -294,7 +290,7 @@ void ConfirmSubscriptionBox(
}, [](const MTPDpayments_paymentVerificationNeeded &data) {
});
const auto refill = session->data().activeCreditsSubsRebuilder();
const auto strong = weak.data();
const auto strong = weak.get();
if (!strong) {
return;
}

View File

@@ -87,7 +87,7 @@ void ConfirmPhone::resolve(
sentCodeLength,
fragmentUrl,
timeout);
const auto boxWeak = Ui::MakeWeak(box.data());
const auto boxWeak = base::make_weak(box.data());
using LoginCode = rpl::event_stream<QString>;
const auto codeHandles = box->lifetime().make_state<LoginCode>();
controller->session().account().setHandleLoginCode([=](

View File

@@ -283,7 +283,7 @@ rpl::producer<rpl::no_value, QString> CreditsEarnStatistics::request() {
auto lifetime = rpl::lifetime();
const auto finish = [=](const QString &url) {
makeRequest(MTPpayments_GetStarsRevenueStats(
api().request(MTPpayments_GetStarsRevenueStats(
MTP_flags(0),
(_isUser ? user()->input : channel()->input)
)).done([=](const MTPpayments_StarsRevenueStats &result) {
@@ -313,7 +313,7 @@ rpl::producer<rpl::no_value, QString> CreditsEarnStatistics::request() {
}).send();
};
makeRequest(
api().request(
MTPpayments_GetStarsRevenueAdsAccountUrl(
(_isUser ? user()->input : channel()->input))
).done([=](const MTPpayments_StarsRevenueAdsAccountUrl &result) {

View File

@@ -153,6 +153,7 @@ Data::CreditsHistoryEntry CreditsHistoryEntryFromTL(
.floodSkip = int(tl.data().vfloodskip_number().value_or(0)),
.converted = stargift && incoming,
.stargift = stargift.has_value(),
.postsSearch = tl.data().is_posts_search(),
.giftUpgraded = tl.data().is_stargift_upgrade(),
.giftResale = tl.data().is_stargift_resale(),
.reaction = tl.data().is_reaction(),

View File

@@ -82,7 +82,7 @@ void HandleWithdrawalButton(
fields.customSubmitButton = tr::lng_passcode_submit();
fields.customCheckCallback = crl::guard(button, [=](
const Core::CloudPasswordResult &result,
QPointer<PasscodeBox> box) {
base::weak_qptr<PasscodeBox> box) {
const auto done = [=](const QString &result) {
if (!result.isEmpty()) {
UrlClickHandler::Open(result);

View File

@@ -159,6 +159,7 @@ void MessagesSearch::searchReceived(
// Don't apply cached data!
owner.processUsers(data.vusers());
owner.processChats(data.vchats());
_history->peer->processTopics(data.vtopics());
}
auto items = HistoryItemsFromTL(&owner, data.vmessages().v);
const auto total = int(data.vmessages().v.size());
@@ -168,6 +169,7 @@ void MessagesSearch::searchReceived(
// Don't apply cached data!
owner.processUsers(data.vusers());
owner.processChats(data.vchats());
_history->peer->processTopics(data.vtopics());
}
auto items = HistoryItemsFromTL(&owner, data.vmessages().v);
// data.vnext_rate() is used only in global search.
@@ -178,17 +180,14 @@ void MessagesSearch::searchReceived(
// Don't apply cached data!
owner.processUsers(data.vusers());
owner.processChats(data.vchats());
}
if (const auto channel = _history->peer->asChannel()) {
channel->ptsReceived(data.vpts().v);
if (_requestId != 0) {
// Don't apply cached data!
channel->processTopics(data.vtopics());
if (const auto channel = _history->peer->asChannel()) {
channel->ptsReceived(data.vpts().v);
} else {
LOG(("API Error: "
"received messages.channelMessages when no channel "
"was passed!"));
}
} else {
LOG(("API Error: "
"received messages.channelMessages when no channel "
"was passed!"));
_history->peer->processTopics(data.vtopics());
}
auto items = HistoryItemsFromTL(&owner, data.vmessages().v);
const auto total = int(data.vcount().v);

View File

@@ -22,13 +22,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "main/main_session.h"
namespace Api {
namespace {
[[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId) {
return TimeId(msgId >> 32);
}
} // namespace
Polls::Polls(not_null<ApiWrap*> api)
: _session(&api->session())

View File

@@ -23,6 +23,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "main/main_app_config.h"
#include "main/main_session.h"
#include "payments/payments_form.h"
#include "ui/chat/chat_style.h" // ColorCollectible
#include "ui/text/format_values.h"
namespace Api {
@@ -45,19 +46,45 @@ namespace {
auto options = PremiumSubscriptionOptionsFromTL(tlOptions);
for (auto i = 0; i < options.size(); i++) {
const auto &tlOption = tlOptions[i].data();
const auto currency = qs(tlOption.vcurrency());
const auto perUserText = Ui::FillAmountAndCurrency(
tlOption.vamount().v / float64(tlOption.vusers().v),
qs(tlOption.vcurrency()),
currency,
false);
options[i].costPerMonth = perUserText
+ ' '
+ QChar(0x00D7)
+ ' '
+ QString::number(tlOption.vusers().v);
options[i].currency = currency;
}
return options;
}
[[nodiscard]] int FindStarsForResale(const MTPVector<MTPStarsAmount> *list) {
if (!list) {
return 0;
}
for (const auto &amount : list->v) {
if (amount.type() == mtpc_starsAmount) {
return int(amount.c_starsAmount().vamount().v);
}
}
return 0;
}
[[nodiscard]] int64 FindTonForResale(const MTPVector<MTPStarsAmount> *list) {
if (!list) {
return 0;
}
for (const auto &amount : list->v) {
if (amount.type() == mtpc_starsTonAmount) {
return int64(amount.c_starsTonAmount().vamount().v);
}
}
return 0;
}
} // namespace
Premium::Premium(not_null<ApiWrap*> api)
@@ -424,7 +451,7 @@ void Premium::requestPremiumRequiredSlice() {
constexpr auto hasPrem = Flag::HasRequirePremiumToWrite;
constexpr auto hasStars = Flag::HasStarsPerMessage;
user->setStarsPerMessage(stars);
user->setFlags((user->flags() & ~(me | hasPrem | hasStars))
user->setFlags((user->flags() & ~me)
| known
| (requirePremium ? (me | hasPrem) : Flag())
| (stars ? hasStars : Flag()));
@@ -589,24 +616,32 @@ std::vector<GiftOptionData> PremiumGiftCodeOptions::optionsForPeer() const {
return result;
}
Data::PremiumSubscriptionOptions PremiumGiftCodeOptions::options(int amount) {
const auto it = _subscriptionOptions.find(amount);
Data::PremiumSubscriptionOptions PremiumGiftCodeOptions::optionsForGiveaway(
int usersCount) {
const auto skipForStars = [&](Data::PremiumSubscriptionOptions options) {
const auto proj = &Data::PremiumSubscriptionOption::currency;
options.erase(
ranges::remove(options, Ui::kCreditsCurrency, proj),
end(options));
return options;
};
const auto it = _subscriptionOptions.find(usersCount);
if (it != end(_subscriptionOptions)) {
return it->second;
return skipForStars(it->second);
} else {
auto tlOptions = QVector<MTPPremiumGiftCodeOption>();
for (auto i = 0; i < _optionsForOnePerson.months.size(); i++) {
tlOptions.push_back(MTP_premiumGiftCodeOption(
MTP_flags(MTPDpremiumGiftCodeOption::Flags(0)),
MTP_int(amount),
MTP_int(usersCount),
MTP_int(_optionsForOnePerson.months[i]),
MTPstring(),
MTPint(),
MTP_string(_optionsForOnePerson.currencies[i]),
MTP_long(_optionsForOnePerson.totalCosts[i] * amount)));
MTP_long(_optionsForOnePerson.totalCosts[i] * usersCount)));
}
_subscriptionOptions[amount] = GiftCodesFromTL(tlOptions);
return _subscriptionOptions[amount];
_subscriptionOptions[usersCount] = GiftCodesFromTL(tlOptions);
return skipForStars(_subscriptionOptions[usersCount]);
}
}
@@ -619,6 +654,8 @@ auto PremiumGiftCodeOptions::requestStarGifts()
MTP_int(0)
)).done([=](const MTPpayments_StarGifts &result) {
result.match([&](const MTPDpayments_starGifts &data) {
_peer->owner().processUsers(data.vusers());
_peer->owner().processChats(data.vchats());
_giftsHash = data.vhash().v;
const auto &list = data.vgifts().v;
const auto session = &_peer->session();
@@ -805,6 +842,12 @@ std::optional<Data::StarGift> FromTL(
if (!document->sticker()) {
return std::optional<Data::StarGift>();
}
const auto releasedById = data.vreleased_by()
? peerFromMTP(*data.vreleased_by())
: PeerId();
const auto releasedBy = releasedById
? session->data().peer(releasedById).get()
: nullptr;
return std::optional<Data::StarGift>(Data::StarGift{
.id = uint64(data.vid().v),
.stars = int64(data.vstars().v),
@@ -812,12 +855,18 @@ std::optional<Data::StarGift> FromTL(
.starsToUpgrade = int64(data.vupgrade_stars().value_or_empty()),
.starsResellMin = int64(resellPrice),
.document = document,
.releasedBy = releasedBy,
.resellTitle = qs(data.vtitle().value_or_empty()),
.resellCount = int(data.vavailability_resale().value_or_empty()),
.limitedLeft = remaining.value_or_empty(),
.limitedCount = total.value_or_empty(),
.perUserTotal = data.vper_user_total().value_or_empty(),
.perUserRemains = data.vper_user_remains().value_or_empty(),
.firstSaleDate = data.vfirst_sale_date().value_or_empty(),
.lastSaleDate = data.vlast_sale_date().value_or_empty(),
.lockedUntilDate = data.vlocked_until_date().value_or_empty(),
.requirePremium = data.is_require_premium(),
.peerColorAvailable = data.is_peer_color_available(),
.upgradable = data.vupgrade_stars().has_value(),
.birthday = data.is_birthday(),
.soldOut = data.is_sold_out(),
@@ -841,25 +890,66 @@ std::optional<Data::StarGift> FromTL(
|| !pattern->document->sticker()) {
return std::optional<Data::StarGift>();
}
const auto releasedById = data.vreleased_by()
? peerFromMTP(*data.vreleased_by())
: PeerId();
const auto themeUserId = data.vtheme_peer()
? peerFromMTP(*data.vtheme_peer())
: PeerId();
const auto releasedBy = releasedById
? session->data().peer(releasedById).get()
: nullptr;
const auto themeUser = themeUserId
? session->data().peer(themeUserId).get()
: nullptr;
const auto colorCollectible = (data.vpeer_color()
&& data.vpeer_color()->type() == mtpc_peerColorCollectible)
? std::make_shared<Ui::ColorCollectible>(
Data::ParseColorCollectible(
data.vpeer_color()->c_peerColorCollectible()))
: nullptr;
auto result = Data::StarGift{
.id = uint64(data.vid().v),
.id = data.vid().v,
.unique = std::make_shared<Data::UniqueGift>(Data::UniqueGift{
.id = data.vid().v,
.initialGiftId = data.vgift_id().v,
.slug = qs(data.vslug()),
.title = qs(data.vtitle()),
.giftAddress = qs(data.vgift_address().value_or_empty()),
.ownerAddress = qs(data.vowner_address().value_or_empty()),
.ownerName = qs(data.vowner_name().value_or_empty()),
.ownerId = (data.vowner_id()
? peerFromMTP(*data.vowner_id())
: PeerId()),
.hostId = (data.vhost_id()
? peerFromMTP(*data.vhost_id())
: PeerId()),
.releasedBy = releasedBy,
.themeUser = themeUser,
.nanoTonForResale = FindTonForResale(data.vresell_amount()),
.starsForResale = FindStarsForResale(data.vresell_amount()),
.number = data.vnum().v,
.starsForResale = int(data.vresell_stars().value_or_empty()),
.onlyAcceptTon = data.is_resale_ton_only(),
.canBeTheme = data.is_theme_available(),
.model = *model,
.pattern = *pattern,
.value = (data.vvalue_amount()
? std::make_shared<Data::UniqueGiftValue>(
Data::UniqueGiftValue{
.currency = qs(
data.vvalue_currency().value_or_empty()),
.valuePrice = int64(
data.vvalue_amount().value_or_empty()),
})
: nullptr),
.peerColor = colorCollectible,
}),
.document = model->document,
.releasedBy = releasedBy,
.limitedLeft = (total - data.vavailability_issued().v),
.limitedCount = total,
.resellTonOnly = data.is_resale_ton_only(),
.requirePremium = data.is_require_premium(),
};
const auto unique = result.unique.get();
for (const auto &attribute : data.vattributes().v) {
@@ -896,21 +986,28 @@ std::optional<Data::SavedStarGift> FromTL(
.manageId = (to->isUser()
? Id::User(data.vmsg_id().value_or_empty())
: Id::Chat(to, data.vsaved_id().value_or_empty())),
.collectionIds = (data.vcollection_id()
? (data.vcollection_id()->v
| ranges::views::transform(&MTPint::v)
| ranges::to_vector)
: std::vector<int>()),
.message = (data.vmessage()
? TextWithEntities{
.text = qs(data.vmessage()->data().vtext()),
.entities = Api::EntitiesFromMTP(
session,
data.vmessage()->data().ventities().v),
}
? Api::ParseTextWithEntities(
session,
*data.vmessage())
: TextWithEntities()),
.starsConverted = int64(data.vconvert_stars().value_or_empty()),
.starsUpgradedBySender = int64(
data.vupgrade_stars().value_or_empty()),
.starsForDetailsRemove = int64(
data.vdrop_original_details_stars().value_or_empty()),
.giftPrepayUpgradeHash = qs(
data.vprepaid_upgrade_hash().value_or_empty()),
.fromId = (data.vfrom_id()
? peerFromMTP(*data.vfrom_id())
: PeerId()),
.date = data.vdate().v,
.upgradeSeparate = data.is_upgrade_separate(),
.upgradable = data.is_can_upgrade(),
.anonymous = data.is_name_hidden(),
.pinned = data.is_pinned_to_top() && hasUnique,

View File

@@ -180,7 +180,8 @@ public:
[[nodiscard]] rpl::producer<rpl::no_value, QString> request();
[[nodiscard]] std::vector<GiftOptionData> optionsForPeer() const;
[[nodiscard]] Data::PremiumSubscriptionOptions options(int amount);
[[nodiscard]] Data::PremiumSubscriptionOptions optionsForGiveaway(
int usersCount);
[[nodiscard]] const std::vector<int> &availablePresets() const;
[[nodiscard]] int monthsFromPreset(int monthsIndex);
[[nodiscard]] Payments::InvoicePremiumGiftCode invoice(

View File

@@ -25,7 +25,7 @@ SensitiveContent::SensitiveContent(not_null<ApiWrap*> api)
}
void SensitiveContent::preload() {
if (!_loaded) {
if (!_loaded && !_loadRequestId) {
reload();
}
}
@@ -37,7 +37,6 @@ void SensitiveContent::reload(bool force) {
}
return;
}
_loaded = true;
_loadRequestId = _api.request(MTPaccount_GetContentSettings(
)).done([=](const MTPaccount_ContentSettings &result) {
_loadRequestId = 0;
@@ -50,6 +49,10 @@ void SensitiveContent::reload(bool force) {
_enabled = enabled;
_canChange = canChange;
}
if (!_loaded) {
_loaded = true;
_loadedChanged.fire({});
}
if (base::take(_appConfigReloadForce) || changed) {
_appConfigReloadTimer.callOnce(kRefreshAppConfigTimeout);
}
@@ -61,6 +64,19 @@ void SensitiveContent::reload(bool force) {
}).send();
}
bool SensitiveContent::loaded() const {
return _loaded;
}
rpl::producer<bool> SensitiveContent::loadedValue() const {
if (_loaded) {
return rpl::single(true);
}
return rpl::single(false) | rpl::then(
_loadedChanged.events() | rpl::map_to(true)
);
}
bool SensitiveContent::enabledCurrent() const {
return _enabled.current();
}
@@ -69,6 +85,10 @@ rpl::producer<bool> SensitiveContent::enabled() const {
return _enabled.value();
}
bool SensitiveContent::canChangeCurrent() const {
return _canChange.current();
}
rpl::producer<bool> SensitiveContent::canChange() const {
return _canChange.value();
}

View File

@@ -26,12 +26,16 @@ public:
void reload(bool force = false);
void update(bool enabled);
[[nodiscard]] bool loaded() const;
[[nodiscard]] rpl::producer<bool> loadedValue() const;
[[nodiscard]] bool enabledCurrent() const;
[[nodiscard]] rpl::producer<bool> enabled() const;
[[nodiscard]] bool canChangeCurrent() const;
[[nodiscard]] rpl::producer<bool> canChange() const;
private:
const not_null<Main::Session*> _session;
rpl::event_stream<> _loadedChanged;
MTP::Sender _api;
mtpRequestId _loadRequestId = 0;
mtpRequestId _saveRequestId = 0;

View File

@@ -696,7 +696,7 @@ rpl::producer<rpl::no_value, QString> EarnStatistics::request() {
return [=](auto consumer) {
auto lifetime = rpl::lifetime();
makeRequest(MTPpayments_GetStarsRevenueStats(
api().request(MTPpayments_GetStarsRevenueStats(
MTP_flags(MTPpayments_getStarsRevenueStats::Flag::f_ton),
(_isUser ? user()->input : channel()->input)
)).done([=](const MTPpayments_StarsRevenueStats &result) {
@@ -755,9 +755,7 @@ void EarnStatistics::requestHistory(
constexpr auto kTlLimit = tl::make_int(kLimit);
_requestId = api().request(MTPpayments_GetStarsTransactions(
MTP_flags(MTPpayments_getStarsTransactions::Flag::f_ton
| MTPpayments_getStarsTransactions::Flag::f_inbound
| MTPpayments_getStarsTransactions::Flag::f_outbound),
MTP_flags(MTPpayments_getStarsTransactions::Flag::f_ton),
MTP_string(), // Subscription ID.
(_isUser ? user()->input : channel()->input),
MTP_string(token),

View File

@@ -223,7 +223,7 @@ void ConfirmApproval(
.confirmText = tr::lng_suggest_accept_send(),
.title = tr::lng_suggest_accept_title(),
});
*callback = [=, weak = Ui::MakeWeak(box)] {
*callback = [=, weak = base::make_weak(box)] {
if (const auto onstack = accepted) {
onstack();
}
@@ -232,7 +232,7 @@ void ConfirmApproval(
return;
}
SendApproval(show, item, scheduleDate);
if (const auto strong = weak.data()) {
if (const auto strong = weak.get()) {
strong->closeBox();
}
};
@@ -283,9 +283,9 @@ void RequestApprovalDate(
std::shared_ptr<Main::SessionShow> show,
not_null<HistoryItem*> item) {
const auto id = item->fullId();
const auto weak = std::make_shared<QPointer<Ui::BoxContent>>();
const auto weak = std::make_shared<base::weak_qptr<Ui::BoxContent>>();
const auto close = [=] {
if (const auto strong = weak->data()) {
if (const auto strong = weak->get()) {
strong->closeBox();
}
};
@@ -339,13 +339,13 @@ void RequestDeclineComment(
box->setFocusCallback([=] {
reason->setFocusFast();
});
*callback = [=, weak = Ui::MakeWeak(box)] {
*callback = [=, weak = base::make_weak(box)] {
const auto item = show->session().data().message(id);
if (!item) {
return;
}
SendDecline(show, item, reason->getLastText().trimmed());
if (const auto strong = weak.data()) {
if (const auto strong = weak.get()) {
strong->closeBox();
}
};
@@ -422,14 +422,14 @@ void SuggestApprovalDate(
}
const auto id = item->fullId();
const auto state = std::make_shared<SendSuggestState>();
const auto weak = std::make_shared<QPointer<Ui::BoxContent>>();
const auto weak = std::make_shared<base::weak_qptr<Ui::BoxContent>>();
const auto done = [=](TimeId result) {
const auto item = show->session().data().message(id);
if (!item) {
return;
}
const auto close = [=] {
if (const auto strong = weak->data()) {
if (const auto strong = weak->get()) {
strong->closeBox();
}
};
@@ -458,14 +458,14 @@ void SuggestOfferForMessage(
HistoryView::SuggestMode mode) {
const auto id = item->fullId();
const auto state = std::make_shared<SendSuggestState>();
const auto weak = std::make_shared<QPointer<Ui::BoxContent>>();
const auto weak = std::make_shared<base::weak_qptr<Ui::BoxContent>>();
const auto done = [=](SuggestPostOptions result) {
const auto item = show->session().data().message(id);
if (!item) {
return;
}
const auto close = [=] {
if (const auto strong = weak->data()) {
if (const auto strong = weak->get()) {
strong->closeBox();
}
};

View File

@@ -25,10 +25,6 @@ namespace {
constexpr auto kSendTogglesDelay = 3 * crl::time(1000);
[[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId) {
return TimeId(msgId >> 32);
}
} // namespace
TodoLists::TodoLists(not_null<ApiWrap*> api)
@@ -182,11 +178,15 @@ void TodoLists::add(
void TodoLists::toggleCompletion(FullMsgId itemId, int id, bool completed) {
auto &entry = _toggles[itemId];
if (completed) {
if (!entry.completed.emplace(id).second) {
const auto changed1 = entry.completed.emplace(id).second;
const auto changed2 = entry.incompleted.remove(id);
if (!changed1 && !changed2) {
return;
}
} else {
if (!entry.incompleted.emplace(id).second) {
const auto changed1 = entry.incompleted.emplace(id).second;
const auto changed2 = entry.completed.remove(id);
if (!changed1 && !changed2) {
return;
}
}

View File

@@ -17,6 +17,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "history/history_item_helpers.h"
#include "main/main_app_config.h"
#include "main/main_session.h"
#include "main/main_session_settings.h"
namespace Api {
@@ -25,6 +26,32 @@ Transcribes::Transcribes(not_null<ApiWrap*> api)
, _api(&api->instance()) {
}
bool Transcribes::isRated(not_null<HistoryItem*> item) const {
const auto fullId = item->fullId();
for (const auto &[transcribeId, id] : _ids) {
if (id == fullId) {
return _session->settings().isTranscriptionRated(transcribeId);
}
}
return false;
}
void Transcribes::rate(not_null<HistoryItem*> item, bool isGood) {
const auto fullId = item->fullId();
for (const auto &[transcribeId, id] : _ids) {
if (id == fullId) {
_api.request(MTPmessages_RateTranscribedAudio(
item->history()->peer->input,
MTP_int(item->id),
MTP_long(transcribeId),
MTP_bool(isGood))).send();
_session->settings().markTranscriptionAsRated(transcribeId);
_session->saveSettings();
return;
}
}
}
bool Transcribes::freeFor(not_null<HistoryItem*> item) const {
if (const auto channel = item->history()->peer->asMegagroup()) {
const auto owner = &channel->owner();

View File

@@ -37,6 +37,8 @@ public:
void apply(const MTPDupdateTranscribedAudio &update);
[[nodiscard]] bool freeFor(not_null<HistoryItem*> item) const;
[[nodiscard]] bool isRated(not_null<HistoryItem*> item) const;
void rate(not_null<HistoryItem*> item, bool isGood);
[[nodiscard]] bool trialsSupport();
[[nodiscard]] TimeId trialsRefreshAt();

View File

@@ -51,6 +51,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "history/history.h"
#include "history/history_item.h"
#include "history/history_item_helpers.h"
#include "history/history_streamed_drafts.h"
#include "history/history_unread_things.h"
#include "core/application.h"
#include "storage/storage_account.h"
@@ -1096,6 +1097,9 @@ void Updates::handleSendActionUpdate(
const auto from = (fromId == session().userPeerId())
? session().user().get()
: session().data().peerLoaded(fromId);
const auto when = requestingDifference()
? 0
: base::unixtime::now();
if (action.type() == mtpc_speakingInGroupCallAction) {
handleSpeakingInCall(peer, fromId, from);
}
@@ -1108,10 +1112,11 @@ void Updates::handleSendActionUpdate(
const auto &data = action.c_sendMessageEmojiInteractionSeen();
handleEmojiInteraction(peer, qs(data.vemoticon()));
return;
} else if (action.type() == mtpc_sendMessageTextDraftAction) {
const auto &data = action.c_sendMessageTextDraftAction();
history->streamedDrafts().apply(rootId, fromId, when, data);
return;
}
const auto when = requestingDifference()
? 0
: base::unixtime::now();
session().data().sendActionManager().registerFor(
history,
rootId,
@@ -1951,7 +1956,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
auto &d = update.c_updateUserTyping();
handleSendActionUpdate(
peerFromUser(d.vuser_id()),
0,
d.vtop_msg_id().value_or_empty(),
peerFromUser(d.vuser_id()),
d.vaction());
} break;
@@ -2123,7 +2128,9 @@ void Updates::feedUpdate(const MTPUpdate &update) {
case mtpc_updateGroupCallParticipants:
case mtpc_updateGroupCallChainBlocks:
case mtpc_updateGroupCallConnection:
case mtpc_updateGroupCall: {
case mtpc_updateGroupCall:
case mtpc_updateGroupCallMessage:
case mtpc_updateGroupCallEncryptedMessage: {
Core::App().calls().handleUpdate(&session(), update);
} break;
@@ -2213,6 +2220,10 @@ void Updates::feedUpdate(const MTPUpdate &update) {
}
} break;
case mtpc_updateNewAuthorization: {
session().api().authorizations().apply(update);
} break;
case mtpc_updateServiceNotification: {
const auto &d = update.c_updateServiceNotification();
const auto text = TextWithEntities {
@@ -2480,9 +2491,9 @@ void Updates::feedUpdate(const MTPUpdate &update) {
}
} break;
case mtpc_updateChannelPinnedTopic: {
const auto &d = update.c_updateChannelPinnedTopic();
const auto peerId = peerFromChannel(d.vchannel_id());
case mtpc_updatePinnedForumTopic: {
const auto &d = update.c_updatePinnedForumTopic();
const auto peerId = peerFromMTP(d.vpeer());
if (const auto peer = session().data().peerLoaded(peerId)) {
const auto rootId = d.vtopic_id().v;
if (const auto topic = peer->forumTopicFor(rootId)) {
@@ -2493,9 +2504,9 @@ void Updates::feedUpdate(const MTPUpdate &update) {
}
} break;
case mtpc_updateChannelPinnedTopics: {
const auto &d = update.c_updateChannelPinnedTopics();
const auto peerId = peerFromChannel(d.vchannel_id());
case mtpc_updatePinnedForumTopics: {
const auto &d = update.c_updatePinnedForumTopics();
const auto peerId = peerFromMTP(d.vpeer());
if (const auto peer = session().data().peerLoaded(peerId)) {
if (const auto forum = peer->forum()) {
const auto done = [&] {

View File

@@ -134,7 +134,7 @@ rpl::producer<rpl::no_value, Usernames::Error> Usernames::toggle(
if (list.empty()) {
if (error == Error::Unknown) {
it->second.done.fire_done();
} else if (error == Error::TooMuch) {
} else {
it->second.done.fire_error_copy(error);
}
_toggleRequests.remove(peerId);
@@ -149,6 +149,8 @@ rpl::producer<rpl::no_value, Usernames::Error> Usernames::toggle(
const auto type = error.type();
if (type == u"USERNAMES_ACTIVE_TOO_MUCH"_q) {
pop(Error::TooMuch);
} else if (type.startsWith(u"FLOOD_WAIT_"_q)) {
pop(Error::Flood);
} else {
pop(Error::Unknown);
}
@@ -158,19 +160,19 @@ rpl::producer<rpl::no_value, Usernames::Error> Usernames::toggle(
_api.request(MTPaccount_ToggleUsername(
MTP_string(username),
MTP_bool(active)
)).done(done).fail(fail).send();
)).done(done).fail(fail).handleFloodErrors().send();
} else if (const auto channel = peer->asChannel()) {
_api.request(MTPchannels_ToggleUsername(
channel->inputChannel,
MTP_string(username),
MTP_bool(active)
)).done(done).fail(fail).send();
)).done(done).fail(fail).handleFloodErrors().send();
} else if (const auto botUserInput = BotUserInput(peer)) {
_api.request(MTPbots_ToggleUsername(
*botUserInput,
MTP_string(username),
MTP_bool(active)
)).done(done).fail(fail).send();
)).done(done).fail(fail).handleFloodErrors().send();
} else {
return rpl::never<rpl::no_value, Error>();
}

View File

@@ -23,6 +23,7 @@ class Usernames final {
public:
enum class Error {
TooMuch,
Flood,
Unknown,
};

View File

@@ -240,13 +240,13 @@ struct State {
[[nodiscard]] rpl::producer<Peers> WhoReadIds(
not_null<HistoryItem*> item,
not_null<QWidget*> context) {
auto weak = QPointer<QWidget>(context.get());
auto weak = base::make_weak(context);
const auto session = &item->history()->session();
return [=](auto consumer) {
if (!weak) {
return rpl::lifetime();
}
const auto context = PreparedContextAt(weak.data(), session);
const auto context = PreparedContextAt(weak.get(), session);
auto &entry = context->cacheRead(item);
if (entry.requestId) {
} else if (const auto user = item->history()->peer->asUser()) {
@@ -325,13 +325,13 @@ struct State {
not_null<HistoryItem*> item,
const ReactionId &reaction,
not_null<QWidget*> context) {
auto weak = QPointer<QWidget>(context.get());
auto weak = base::make_weak(context);
const auto session = &item->history()->session();
return [=](auto consumer) {
if (!weak) {
return rpl::lifetime();
}
const auto context = PreparedContextAt(weak.data(), session);
const auto context = PreparedContextAt(weak.get(), session);
auto &entry = context->cacheReacted(item, reaction);
if (!entry.requestId) {
using Flag = MTPmessages_GetMessageReactionsList::Flag;

View File

@@ -44,6 +44,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_forum_topic.h"
#include "data/data_forum.h"
#include "data/data_saved_messages.h"
#include "data/data_saved_music.h"
#include "data/data_saved_sublist.h"
#include "data/data_search_controller.h"
#include "data/data_session.h"
@@ -106,10 +107,6 @@ using PhotoFileLocationId = Data::PhotoFileLocationId;
using DocumentFileLocationId = Data::DocumentFileLocationId;
using UpdatedFileReferences = Data::UpdatedFileReferences;
[[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId) {
return TimeId(msgId >> 32);
}
[[nodiscard]] std::shared_ptr<ChatHelpers::Show> ShowForPeer(
not_null<PeerData*> peer) {
if (const auto window = Core::App().windowFor(peer)) {
@@ -154,6 +151,14 @@ void ShowChannelsLimitBox(not_null<PeerData*> peer) {
} // namespace
namespace Api {
TimeId UnixtimeFromMsgId(mtpMsgId msgId) {
return TimeId(msgId >> 32);
}
} // namespace Api
ApiWrap::ApiWrap(not_null<Main::Session*> session)
: MTP::Sender(&session->account().mtp())
, _session(session)
@@ -204,6 +209,27 @@ ApiWrap::ApiWrap(not_null<Main::Session*> session)
ApiWrap::~ApiWrap() = default;
void ApiWrap::ProcessRecentSelfForwards(
not_null<Main::Session*> session,
const MTPUpdates &updates,
PeerId targetPeerId,
PeerId fromPeerId) {
auto newIds = MessageIdsList();
updates.match([&](const MTPDupdates &data) {
for (const auto &update : data.vupdates().v) {
update.match([&](const MTPDupdateMessageID &d) {
newIds.push_back(FullMsgId(targetPeerId, d.vid().v));
}, [](const auto &) {});
}
}, [](const auto &) {});
if (!newIds.empty()) {
session->data().addRecentSelfForwards({
.fromPeerId = fromPeerId,
.ids = newIds,
});
}
}
Main::Session &ApiWrap::session() const {
return *_session;
}
@@ -374,9 +400,9 @@ void ApiWrap::savePinnedOrder(not_null<Data::Forum*> forum) {
order,
ranges::back_inserter(topics),
input);
request(MTPchannels_ReorderPinnedForumTopics(
MTP_flags(MTPchannels_ReorderPinnedForumTopics::Flag::f_force),
forum->channel()->inputChannel,
request(MTPmessages_ReorderPinnedForumTopics(
MTP_flags(MTPmessages_ReorderPinnedForumTopics::Flag::f_force),
forum->peer()->input,
MTP_vector(topics)
)).done([=](const MTPUpdates &result) {
applyUpdates(result);
@@ -1088,6 +1114,8 @@ void ApiWrap::requestWallPaper(
void ApiWrap::requestFullPeer(not_null<PeerData*> peer) {
if (_fullPeerRequests.contains(peer)) {
return;
} else if (!peer->isUser() && !peer->barSettings().has_value()) {
requestPeerSettings(peer);
}
const auto requestId = [&] {
@@ -1886,7 +1914,7 @@ void ApiWrap::sendNotifySettingsUpdates() {
for (const auto topic : base::take(_updateNotifyTopics)) {
request(MTPaccount_UpdateNotifySettings(
MTP_inputNotifyForumTopic(
topic->channel()->input,
topic->peer()->input,
MTP_int(topic->rootId())),
topic->notify().serialize()
)).afterDelay(kSmallDelayMs).send();
@@ -2179,7 +2207,7 @@ void ApiWrap::saveDraftsToCloud() {
history->finishSavingCloudDraft(
topicRootId,
monoforumPeerId,
UnixtimeFromMsgId(response.outerMsgId));
Api::UnixtimeFromMsgId(response.outerMsgId));
const auto cloudDraft = history->cloudDraft(
topicRootId,
monoforumPeerId);
@@ -2200,7 +2228,7 @@ void ApiWrap::saveDraftsToCloud() {
history->finishSavingCloudDraft(
topicRootId,
monoforumPeerId,
UnixtimeFromMsgId(response.outerMsgId));
Api::UnixtimeFromMsgId(response.outerMsgId));
const auto cloudDraft = history->cloudDraft(
topicRootId,
monoforumPeerId);
@@ -2458,7 +2486,17 @@ void ApiWrap::refreshFileReference(
v::match(origin.data, [&](Data::FileOriginMessage data) {
if (const auto item = _session->data().message(data)) {
const auto media = item->media();
const auto storyId = media ? media->storyId() : FullStoryId();
const auto mediaStory = media ? media->storyId() : FullStoryId();
const auto storyId = mediaStory
? mediaStory
: FullStoryId{
(IsStoryMsgId(item->id)
? item->history()->peer->id
: PeerId()),
(IsStoryMsgId(item->id)
? StoryIdFromMsgId(item->id)
: StoryId())
};
if (storyId) {
request(MTPstories_GetStoriesByID(
_session->data().peer(storyId.peer)->input,
@@ -2469,6 +2507,17 @@ void ApiWrap::refreshFileReference(
request(MTPmessages_GetScheduledMessages(
item->history()->peer->input,
MTP_vector<MTPint>(1, MTP_int(realId))));
} else if (item->isSavedMusicItem()) {
const auto user = item->history()->peer->asUser();
const auto media = item->media();
const auto document = media ? media->document() : nullptr;
if (user && document) {
request(MTPusers_GetSavedMusicByID(
user->inputUser,
MTP_vector<MTPInputDocument>(1, document->mtpInput())));
} else {
fail();
}
} else if (item->isBusinessShortcut()) {
const auto &shortcuts = _session->data().shortcutMessages();
const auto realId = shortcuts.lookupId(item);
@@ -3030,18 +3079,20 @@ void ApiWrap::requestMessageAfterDate(
return &messages.vmessages().v;
};
const auto list = result.match([&](
const MTPDmessages_messages &data) {
const MTPDmessages_messages &data) {
peer->processTopics(data.vtopics());
return handleMessages(data);
}, [&](const MTPDmessages_messagesSlice &data) {
peer->processTopics(data.vtopics());
return handleMessages(data);
}, [&](const MTPDmessages_channelMessages &data) {
if (const auto channel = peer->asChannel()) {
channel->ptsReceived(data.vpts().v);
channel->processTopics(data.vtopics());
} else {
LOG(("API Error: received messages.channelMessages when "
"no channel was passed! (ApiWrap::jumpToDate)"));
}
peer->processTopics(data.vtopics());
return handleMessages(data);
}, [&](const MTPDmessages_messagesNotModified &) {
LOG(("API Error: received messages.messagesNotModified! "
@@ -3340,8 +3391,8 @@ void ApiWrap::finishForwarding(const SendAction &action) {
return;
}
forwardMessages(std::move(toForward), action);
history->setForwardDraft(topicRootId, monoforumPeerId, {});
forwardMessages(std::move(toForward), action);
}
_session->data().sendHistoryChangeNotifications();
@@ -3362,6 +3413,22 @@ void ApiWrap::forwardMessages(
auto &histories = _session->data().histories();
for (auto i = begin(draft.items); i != end(draft.items);) {
const auto item = *i;
if (item->isSavedMusicItem()) {
SendExistingDocument(MessageToSend(action), item->media()->document());
i = draft.items.erase(i);
} else {
++i;
}
}
if (draft.items.empty()) {
if (successCallback) {
successCallback();
}
return;
}
struct SharedCallback {
int requestsLeft = 0;
FnMut<void()> callback;
@@ -3477,6 +3544,13 @@ void ApiWrap::forwardMessages(
shared->callback();
}
finish();
if (peer->isSelf() && session().premium()) {
ProcessRecentSelfForwards(
_session,
result,
peer->id,
forwardFrom->id);
}
}).fail([=](const MTP::Error &error) {
if (idsCopy) {
for (const auto &[randomId, itemId] : *idsCopy) {
@@ -3841,7 +3915,9 @@ void ApiWrap::sendShortcutMessages(
}).send();
}
void ApiWrap::sendMessage(MessageToSend &&message) {
void ApiWrap::sendMessage(
MessageToSend &&message,
std::optional<MsgId> localMessageId) {
const auto history = message.action.history;
const auto peer = history->peer;
auto &textWithTags = message.textWithTags;
@@ -3891,7 +3967,9 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
auto newId = FullMsgId(
peer->id,
_session->data().nextLocalMessageId());
localMessageId
? std::exchange(localMessageId, std::nullopt).value()
: _session->data().nextLocalMessageId());
auto randomId = base::RandomValue<uint64>();
TextUtilities::Trim(sending);
@@ -4017,7 +4095,7 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
history->finishSavingCloudDraft(
draftTopicRootId,
draftMonoforumPeerId,
UnixtimeFromMsgId(response.outerMsgId));
Api::UnixtimeFromMsgId(response.outerMsgId));
}
};
const auto fail = [=](
@@ -4032,7 +4110,7 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
history->finishSavingCloudDraft(
draftTopicRootId,
draftMonoforumPeerId,
UnixtimeFromMsgId(response.outerMsgId));
Api::UnixtimeFromMsgId(response.outerMsgId));
}
};
const auto mtpShortcut = Data::ShortcutIdToMTP(
@@ -4228,7 +4306,7 @@ void ApiWrap::sendInlineResult(
history->finishSavingCloudDraft(
topicRootId,
monoforumPeerId,
UnixtimeFromMsgId(response.outerMsgId));
Api::UnixtimeFromMsgId(response.outerMsgId));
if (done) {
done(true);
}
@@ -4237,7 +4315,7 @@ void ApiWrap::sendInlineResult(
history->finishSavingCloudDraft(
topicRootId,
monoforumPeerId,
UnixtimeFromMsgId(response.outerMsgId));
Api::UnixtimeFromMsgId(response.outerMsgId));
if (done) {
done(false);
}

View File

@@ -28,7 +28,7 @@ namespace Data {
struct UpdatedFileReferences;
class WallPaper;
struct ResolvedForwardDraft;
enum class DefaultNotify;
enum class DefaultNotify : uint8_t;
enum class StickersType : uchar;
class Forum;
class ForumTopic;
@@ -129,6 +129,8 @@ QString RequestKey(Types &&...values) {
return result;
}
[[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId);
} // namespace Api
class ApiWrap final : public MTP::Sender {
@@ -363,7 +365,9 @@ public:
void sendShortcutMessages(
not_null<PeerData*> peer,
BusinessShortcutId id);
void sendMessage(MessageToSend &&message);
void sendMessage(
MessageToSend &&message,
std::optional<MsgId> localMessageId = std::nullopt);
void sendBotStart(
std::shared_ptr<Ui::Show> show,
not_null<UserData*> bot,
@@ -428,6 +432,12 @@ public:
static constexpr auto kJoinErrorDuration = 5 * crl::time(1000);
static void ProcessRecentSelfForwards(
not_null<Main::Session*> session,
const MTPUpdates &updates,
PeerId targetPeerId,
PeerId fromPeerId);
private:
struct MessageDataRequest {
using Callbacks = std::vector<Fn<void()>>;

View File

@@ -13,12 +13,20 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/update_checker.h"
#include "lang/lang_keys.h"
#include "ui/boxes/confirm_box.h"
#include "ui/painter.h"
#include "ui/rect.h"
#include "ui/text/text_utilities.h"
#include "ui/vertical_list.h"
#include "ui/widgets/buttons.h"
#include "ui/wrap/vertical_layout.h"
#include "styles/style_layers.h"
#include "styles/style_boxes.h"
#include "styles/style_channel_earn.h"
#include "styles/style_chat.h"
#include "styles/style_dialogs.h"
#include "styles/style_menu_icons.h"
#include "styles/style_premium.h"
#include "styles/style_settings.h"
#include <QtGui/QGuiApplication>
#include <QtGui/QClipboard>
@@ -158,3 +166,151 @@ QString currentVersionText() {
#endif
return result;
}
void ArchiveHintBox(
not_null<Ui::GenericBox*> box,
bool unarchiveOnNewMessage,
Fn<void()> onUnarchive) {
box->setNoContentMargin(true);
const auto content = box->verticalLayout().get();
Ui::AddSkip(content);
Ui::AddSkip(content);
Ui::AddSkip(content);
{
const auto &icon = st::dialogsArchiveUserpic;
const auto rect = Rect(icon.size() * 2);
auto owned = object_ptr<Ui::RpWidget>(content);
owned->resize(rect.size());
owned->setNaturalWidth(rect.width());
const auto widget = box->addRow(std::move(owned), style::al_top);
widget->paintRequest(
) | rpl::start_with_next([=] {
auto p = Painter(widget);
auto hq = PainterHighQualityEnabler(p);
p.setPen(Qt::NoPen);
p.setBrush(st::activeButtonBg);
p.drawEllipse(rect);
icon.paintInCenter(p, rect);
}, widget->lifetime());
}
Ui::AddSkip(content);
Ui::AddSkip(content);
box->addRow(
object_ptr<Ui::FlatLabel>(
content,
tr::lng_archive_hint_title(),
st::boxTitle),
style::al_top);
Ui::AddSkip(content);
Ui::AddSkip(content);
{
const auto label = box->addRow(
object_ptr<Ui::FlatLabel>(
content,
(unarchiveOnNewMessage
? tr::lng_archive_hint_about_unmuted
: tr::lng_archive_hint_about)(
lt_link,
tr::lng_archive_hint_about_link(
lt_emoji,
rpl::single(
Ui::Text::IconEmoji(&st::textMoreIconEmoji)),
Ui::Text::RichLangValue
) | rpl::map([](TextWithEntities text) {
return Ui::Text::Link(std::move(text), 1);
}),
Ui::Text::RichLangValue),
st::channelEarnHistoryRecipientLabel));
label->resizeToWidth(box->width()
- rect::m::sum::h(st::boxRowPadding));
label->setLink(
1,
std::make_shared<GenericClickHandler>([=](ClickContext context) {
if (context.button == Qt::LeftButton) {
onUnarchive();
}
}));
}
Ui::AddSkip(content);
Ui::AddSkip(content);
Ui::AddSkip(content);
Ui::AddSkip(content);
{
const auto padding = QMargins(
st::settingsButton.padding.left(),
st::boxRowPadding.top(),
st::boxRowPadding.right(),
st::boxRowPadding.bottom());
const auto addEntry = [&](
rpl::producer<QString> title,
rpl::producer<QString> about,
const style::icon &icon) {
const auto top = content->add(
object_ptr<Ui::FlatLabel>(
content,
std::move(title),
st::channelEarnSemiboldLabel),
padding);
Ui::AddSkip(content, st::channelEarnHistoryThreeSkip);
content->add(
object_ptr<Ui::FlatLabel>(
content,
std::move(about),
st::channelEarnHistoryRecipientLabel),
padding);
const auto left = Ui::CreateChild<Ui::RpWidget>(
box->verticalLayout().get());
left->paintRequest(
) | rpl::start_with_next([=] {
auto p = Painter(left);
icon.paint(p, 0, 0, left->width());
}, left->lifetime());
left->resize(icon.size());
top->geometryValue(
) | rpl::start_with_next([=](const QRect &g) {
left->moveToLeft(
(g.left() - left->width()) / 2,
g.top() + st::channelEarnHistoryThreeSkip);
}, left->lifetime());
};
addEntry(
tr::lng_archive_hint_section_1(),
tr::lng_archive_hint_section_1_info(),
st::menuIconArchive);
Ui::AddSkip(content);
Ui::AddSkip(content);
addEntry(
tr::lng_archive_hint_section_2(),
tr::lng_archive_hint_section_2_info(),
st::menuIconStealth);
Ui::AddSkip(content);
Ui::AddSkip(content);
addEntry(
tr::lng_archive_hint_section_3(),
tr::lng_archive_hint_section_3_info(),
st::menuIconStoriesSavedSection);
Ui::AddSkip(content);
Ui::AddSkip(content);
}
Ui::AddSkip(content);
Ui::AddSkip(content);
Ui::AddSkip(content);
{
const auto &st = st::premiumPreviewDoubledLimitsBox;
box->setStyle(st);
auto button = object_ptr<Ui::RoundButton>(
box,
tr::lng_archive_hint_button(),
st::defaultActiveButton);
button->setTextTransform(
Ui::RoundButton::TextTransform::NoTransform);
button->resizeToWidth(box->width()
- st.buttonPadding.left()
- st.buttonPadding.left());
button->setClickedCallback([=] { box->closeBox(); });
box->addButton(std::move(button));
}
}

View File

@@ -10,6 +10,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/layers/generic_box.h"
void AboutBox(not_null<Ui::GenericBox*> box);
void ArchiveHintBox(
not_null<Ui::GenericBox*> box,
bool unarchiveOnNewMessage,
Fn<void()> onUnarchive);
QString telegramFaqLink();
QString currentVersionText();

View File

@@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/file_utilities.h"
#include "lang/lang_keys.h"
#include "ui/layers/generic_box.h"
#include "ui/text/text_utilities.h"
#include "ui/widgets/buttons.h"
#include "ui/widgets/labels.h"
#include "styles/style_boxes.h"
@@ -18,7 +19,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Ui {
namespace {
constexpr auto kUrl = "https://promote.telegram.org"_cs;
constexpr auto kUrl = "https://ads.telegram.org"_cs;
} // namespace
@@ -54,8 +55,16 @@ void AboutSponsoredBox(not_null<Ui::GenericBox*> box) {
};
const auto &stLabel = st::aboutLabel;
const auto info1 = box->addRow(object_ptr<FlatLabel>(box, stLabel));
info1->setText(tr::lng_sponsored_info_description1(tr::now));
auto text1 = tr::lng_sponsored_info_description1_linked(
lt_link,
rpl::combine(
tr::lng_sponsored_info_description1_link(),
tr::lng_sponsored_info_description1_url()
) | rpl::map([](const QString &text, const QString &url) {
return Ui::Text::Link(text, url);
}),
Ui::Text::RichLangValue);
box->addRow(object_ptr<FlatLabel>(box, std::move(text1), stLabel));
box->addSkip(st::sponsoredUrlButtonSkip);
addUrl();

View File

@@ -37,11 +37,11 @@ void showBox(
} // namespace internal
template <typename BoxType>
QPointer<BoxType> show(
base::weak_qptr<BoxType> show(
object_ptr<BoxType> content,
Ui::LayerOptions options = Ui::LayerOption::CloseOther,
anim::type animated = anim::type::normal) {
auto result = QPointer<BoxType>(content.data());
auto result = base::weak_qptr<BoxType>(content.data());
internal::showBox(std::move(content), options, animated);
return result;
}

Some files were not shown because too many files have changed in this diff Show More