Updated TDesktop sources to 3.4.3
6
.github/workflows/linux.yml
vendored
@@ -114,7 +114,7 @@ jobs:
|
||||
|
||||
- name: Check.
|
||||
run: |
|
||||
filePath="$REPO_NAME/out/Debug/bin/Kotatogram"
|
||||
filePath="$REPO_NAME/out/Debug/Kotatogram"
|
||||
if test -f "$filePath"; then
|
||||
echo "Build successfully done! :)"
|
||||
|
||||
@@ -128,7 +128,7 @@ jobs:
|
||||
- name: Move artifact.
|
||||
if: env.UPLOAD_ARTIFACT == 'true'
|
||||
run: |
|
||||
cd $REPO_NAME/out/Debug/bin
|
||||
cd $REPO_NAME/out/Debug
|
||||
mkdir artifact
|
||||
mv Kotatogram artifact/
|
||||
- uses: actions/upload-artifact@master
|
||||
@@ -136,4 +136,4 @@ jobs:
|
||||
name: Upload artifact.
|
||||
with:
|
||||
name: ${{ env.ARTIFACT_NAME }}
|
||||
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/
|
||||
path: ${{ env.REPO_NAME }}/out/Debug/artifact/
|
||||
|
12
.gitmodules
vendored
@@ -4,9 +4,6 @@
|
||||
[submodule "Telegram/ThirdParty/GSL"]
|
||||
path = Telegram/ThirdParty/GSL
|
||||
url = https://github.com/Microsoft/GSL.git
|
||||
[submodule "Telegram/ThirdParty/Catch"]
|
||||
path = Telegram/ThirdParty/Catch
|
||||
url = https://github.com/philsquared/Catch
|
||||
[submodule "Telegram/ThirdParty/xxHash"]
|
||||
path = Telegram/ThirdParty/xxHash
|
||||
url = https://github.com/Cyan4973/xxHash.git
|
||||
@@ -31,9 +28,6 @@
|
||||
[submodule "Telegram/lib_ui"]
|
||||
path = Telegram/lib_ui
|
||||
url = https://github.com/kotatogram/lib_ui.git
|
||||
[submodule "Telegram/lib_rlottie"]
|
||||
path = Telegram/lib_rlottie
|
||||
url = https://github.com/desktop-app/lib_rlottie.git
|
||||
[submodule "Telegram/lib_lottie"]
|
||||
path = Telegram/lib_lottie
|
||||
url = https://github.com/desktop-app/lib_lottie.git
|
||||
@@ -94,3 +88,9 @@
|
||||
[submodule "Telegram/ThirdParty/jemalloc"]
|
||||
path = Telegram/ThirdParty/jemalloc
|
||||
url = https://github.com/jemalloc/jemalloc
|
||||
[submodule "Telegram/ThirdParty/kwayland"]
|
||||
path = Telegram/ThirdParty/kwayland
|
||||
url = https://github.com/KDE/kwayland.git
|
||||
[submodule "Telegram/ThirdParty/dispatch"]
|
||||
path = Telegram/ThirdParty/dispatch
|
||||
url = https://github.com/apple/swift-corelibs-libdispatch
|
||||
|
@@ -153,8 +153,8 @@ PRIVATE
|
||||
api/api_user_privacy.h
|
||||
api/api_views.cpp
|
||||
api/api_views.h
|
||||
api/api_who_read.cpp
|
||||
api/api_who_read.h
|
||||
api/api_who_reacted.cpp
|
||||
api/api_who_reacted.h
|
||||
boxes/filters/edit_filter_box.cpp
|
||||
boxes/filters/edit_filter_box.h
|
||||
boxes/filters/edit_filter_chats_list.cpp
|
||||
@@ -180,6 +180,8 @@ PRIVATE
|
||||
boxes/peers/edit_peer_history_visibility_box.h
|
||||
boxes/peers/edit_peer_permissions_box.cpp
|
||||
boxes/peers/edit_peer_permissions_box.h
|
||||
boxes/peers/edit_peer_reactions.cpp
|
||||
boxes/peers/edit_peer_reactions.h
|
||||
boxes/peers/edit_peer_requests_box.cpp
|
||||
boxes/peers/edit_peer_requests_box.h
|
||||
boxes/peers/edit_peer_type_box.cpp
|
||||
@@ -445,6 +447,8 @@ PRIVATE
|
||||
data/data_media_types.h
|
||||
data/data_messages.cpp
|
||||
data/data_messages.h
|
||||
data/data_message_reactions.cpp
|
||||
data/data_message_reactions.h
|
||||
data/data_msg_id.h
|
||||
data/data_notify_settings.cpp
|
||||
data/data_notify_settings.h
|
||||
@@ -619,6 +623,12 @@ PRIVATE
|
||||
history/view/media/history_view_theme_document.cpp
|
||||
history/view/media/history_view_web_page.h
|
||||
history/view/media/history_view_web_page.cpp
|
||||
history/view/reactions/message_reactions_list.cpp
|
||||
history/view/reactions/message_reactions_list.h
|
||||
history/view/reactions/message_reactions_selector.cpp
|
||||
history/view/reactions/message_reactions_selector.h
|
||||
history/view/history_view_bottom_info.cpp
|
||||
history/view/history_view_bottom_info.h
|
||||
history/view/history_view_contact_status.cpp
|
||||
history/view/history_view_contact_status.h
|
||||
history/view/history_view_context_menu.cpp
|
||||
@@ -633,6 +643,7 @@ PRIVATE
|
||||
history/view/history_view_empty_list_bubble.h
|
||||
history/view/history_view_group_call_bar.cpp
|
||||
history/view/history_view_group_call_bar.h
|
||||
history/view/history_view_item_preview.h
|
||||
history/view/history_view_list_widget.cpp
|
||||
history/view/history_view_list_widget.h
|
||||
history/view/history_view_message.cpp
|
||||
@@ -644,6 +655,10 @@ PRIVATE
|
||||
history/view/history_view_pinned_section.h
|
||||
history/view/history_view_pinned_tracker.cpp
|
||||
history/view/history_view_pinned_tracker.h
|
||||
history/view/history_view_react_button.cpp
|
||||
history/view/history_view_react_button.h
|
||||
history/view/history_view_reactions.cpp
|
||||
history/view/history_view_reactions.h
|
||||
history/view/history_view_replies_section.cpp
|
||||
history/view/history_view_replies_section.h
|
||||
history/view/history_view_requests_bar.cpp
|
||||
@@ -656,6 +671,8 @@ PRIVATE
|
||||
history/view/history_view_send_action.h
|
||||
history/view/history_view_service_message.cpp
|
||||
history/view/history_view_service_message.h
|
||||
history/view/history_view_spoiler_click_handler.cpp
|
||||
history/view/history_view_spoiler_click_handler.h
|
||||
history/view/history_view_top_bar_widget.cpp
|
||||
history/view/history_view_top_bar_widget.h
|
||||
history/view/history_view_view_button.cpp
|
||||
|
@@ -531,3 +531,16 @@ div.toast_shown {
|
||||
background-image: url(../images/media_video@2x.png)
|
||||
}
|
||||
}
|
||||
|
||||
.spoiler {
|
||||
background: #e8e8e8;
|
||||
}
|
||||
.spoiler.hidden {
|
||||
background: #a9a9a9;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.spoiler.hidden span {
|
||||
opacity: 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
@@ -52,6 +52,12 @@ function ShowMentionName() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function ShowSpoiler(target) {
|
||||
if (target.classList.contains("hidden")) {
|
||||
target.classList.toggle("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
function AddClass(element, name) {
|
||||
var current = element.className;
|
||||
var expression = new RegExp('(^|\\s)' + name + '(\\s|$)', 'g');
|
||||
|
Before Width: | Height: | Size: 551 B |
Before Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 174 B |
BIN
Telegram/Resources/icons/contacts_alphabet.png
Normal file
After Width: | Height: | Size: 448 B |
BIN
Telegram/Resources/icons/contacts_alphabet@2x.png
Normal file
After Width: | Height: | Size: 784 B |
BIN
Telegram/Resources/icons/contacts_alphabet@3x.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/contacts_online.png
Normal file
After Width: | Height: | Size: 385 B |
BIN
Telegram/Resources/icons/contacts_online@2x.png
Normal file
After Width: | Height: | Size: 649 B |
BIN
Telegram/Resources/icons/contacts_online@3x.png
Normal file
After Width: | Height: | Size: 1014 B |
BIN
Telegram/Resources/icons/info/edit/group_manage_reactions.png
Normal file
After Width: | Height: | Size: 1016 B |
BIN
Telegram/Resources/icons/info/edit/group_manage_reactions@2x.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Telegram/Resources/icons/info/edit/group_manage_reactions@3x.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
Telegram/Resources/icons/menu/add_account.png
Normal file
After Width: | Height: | Size: 815 B |
BIN
Telegram/Resources/icons/menu/add_account@2x.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/add_account@3x.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Telegram/Resources/icons/menu/admin.png
Normal file
After Width: | Height: | Size: 853 B |
BIN
Telegram/Resources/icons/menu/admin@2x.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
Telegram/Resources/icons/menu/admin@3x.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
Telegram/Resources/icons/menu/admin_promote.png
Normal file
After Width: | Height: | Size: 793 B |
BIN
Telegram/Resources/icons/menu/admin_promote@2x.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/admin_promote@3x.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Telegram/Resources/icons/menu/all_media.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
Telegram/Resources/icons/menu/all_media@2x.png
Normal file
After Width: | Height: | Size: 914 B |
BIN
Telegram/Resources/icons/menu/all_media@3x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/archive.png
Normal file
After Width: | Height: | Size: 570 B |
BIN
Telegram/Resources/icons/menu/archive@2x.png
Normal file
After Width: | Height: | Size: 942 B |
BIN
Telegram/Resources/icons/menu/archive@3x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Telegram/Resources/icons/menu/block.png
Normal file
After Width: | Height: | Size: 717 B |
BIN
Telegram/Resources/icons/menu/block@2x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/menu/block@3x.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Telegram/Resources/icons/menu/calendar.png
Normal file
After Width: | Height: | Size: 480 B |
BIN
Telegram/Resources/icons/menu/calendar@2x.png
Normal file
After Width: | Height: | Size: 773 B |
BIN
Telegram/Resources/icons/menu/calendar@3x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
Telegram/Resources/icons/menu/cancel.png
Normal file
After Width: | Height: | Size: 476 B |
BIN
Telegram/Resources/icons/menu/cancel@2x.png
Normal file
After Width: | Height: | Size: 912 B |
BIN
Telegram/Resources/icons/menu/cancel@3x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/clear.png
Normal file
After Width: | Height: | Size: 578 B |
BIN
Telegram/Resources/icons/menu/clear@2x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
Telegram/Resources/icons/menu/clear@3x.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/collapse.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
Telegram/Resources/icons/menu/collapse@2x.png
Normal file
After Width: | Height: | Size: 630 B |
BIN
Telegram/Resources/icons/menu/collapse@3x.png
Normal file
After Width: | Height: | Size: 835 B |
BIN
Telegram/Resources/icons/menu/colors.png
Normal file
After Width: | Height: | Size: 773 B |
BIN
Telegram/Resources/icons/menu/colors@2x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/menu/colors@3x.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Telegram/Resources/icons/menu/copy.png
Normal file
After Width: | Height: | Size: 489 B |
BIN
Telegram/Resources/icons/menu/copy@2x.png
Normal file
After Width: | Height: | Size: 775 B |
BIN
Telegram/Resources/icons/menu/copy@3x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
Telegram/Resources/icons/menu/create_poll.png
Normal file
After Width: | Height: | Size: 514 B |
BIN
Telegram/Resources/icons/menu/create_poll@2x.png
Normal file
After Width: | Height: | Size: 797 B |
BIN
Telegram/Resources/icons/menu/create_poll@3x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
Telegram/Resources/icons/menu/delete.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Telegram/Resources/icons/menu/delete@2x.png
Normal file
After Width: | Height: | Size: 823 B |
BIN
Telegram/Resources/icons/menu/delete@3x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/discussion.png
Normal file
After Width: | Height: | Size: 742 B |
BIN
Telegram/Resources/icons/menu/discussion@2x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/menu/discussion@3x.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
Telegram/Resources/icons/menu/download.png
Normal file
After Width: | Height: | Size: 365 B |
BIN
Telegram/Resources/icons/menu/download@2x.png
Normal file
After Width: | Height: | Size: 636 B |
BIN
Telegram/Resources/icons/menu/download@3x.png
Normal file
After Width: | Height: | Size: 877 B |
BIN
Telegram/Resources/icons/menu/edit.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
Telegram/Resources/icons/menu/edit@2x.png
Normal file
After Width: | Height: | Size: 700 B |
BIN
Telegram/Resources/icons/menu/edit@3x.png
Normal file
After Width: | Height: | Size: 883 B |
BIN
Telegram/Resources/icons/menu/expand.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
Telegram/Resources/icons/menu/expand@2x.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
Telegram/Resources/icons/menu/expand@3x.png
Normal file
After Width: | Height: | Size: 833 B |
BIN
Telegram/Resources/icons/menu/export.png
Normal file
After Width: | Height: | Size: 483 B |
BIN
Telegram/Resources/icons/menu/export@2x.png
Normal file
After Width: | Height: | Size: 819 B |
BIN
Telegram/Resources/icons/menu/export@3x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
Telegram/Resources/icons/menu/export_theme.png
Normal file
After Width: | Height: | Size: 455 B |
BIN
Telegram/Resources/icons/menu/export_theme@2x.png
Normal file
After Width: | Height: | Size: 709 B |
BIN
Telegram/Resources/icons/menu/export_theme@3x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
Telegram/Resources/icons/menu/favorite.png
Normal file
After Width: | Height: | Size: 620 B |
BIN
Telegram/Resources/icons/menu/favorite@2x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/favorite@3x.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
Telegram/Resources/icons/menu/flip.png
Normal file
After Width: | Height: | Size: 514 B |
BIN
Telegram/Resources/icons/menu/flip@2x.png
Normal file
After Width: | Height: | Size: 947 B |
BIN
Telegram/Resources/icons/menu/flip@3x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/forward.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
Telegram/Resources/icons/menu/forward@2x.png
Normal file
After Width: | Height: | Size: 582 B |
BIN
Telegram/Resources/icons/menu/forward@3x.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
Telegram/Resources/icons/menu/gif.png
Normal file
After Width: | Height: | Size: 613 B |
BIN
Telegram/Resources/icons/menu/gif@2x.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/menu/gif@3x.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/hide.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Telegram/Resources/icons/menu/hide@2x.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
Telegram/Resources/icons/menu/hide@3x.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
Telegram/Resources/icons/menu/import_theme.png
Normal file
After Width: | Height: | Size: 431 B |
BIN
Telegram/Resources/icons/menu/import_theme@2x.png
Normal file
After Width: | Height: | Size: 752 B |