Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package telegram-desktop for
openSUSE:Factory checked in at 2025-12-16 15:57:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old)
and /work/SRC/openSUSE:Factory/.telegram-desktop.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop"
Tue Dec 16 15:57:53 2025 rev:141 rq:1323064 version:6.3.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes
2025-12-08 11:55:16.804820179 +0100
+++
/work/SRC/openSUSE:Factory/.telegram-desktop.new.1939/telegram-desktop.changes
2025-12-16 16:03:45.165812030 +0100
@@ -1,0 +2,9 @@
+Tue Dec 16 07:47:29 UTC 2025 - Илья Индиго <[email protected]>
+
+- Updated tg_owt to git20251128
+ * Removed tg_owt-pipewire.patch
+- Updated td to git20251210
+- Updated telegram-desktop to 6.3.9
+ * https://github.com/telegramdesktop/tdesktop/releases/tag/v6.3.9
+
+-------------------------------------------------------------------
Old:
----
td-git20251201.tar.xz
tdesktop-6.3.6-full.tar.gz
tg_owt-git20251115.tar.xz
tg_owt-pipewire.patch
New:
----
td-git20251210.tar.xz
tdesktop-6.3.9-full.tar.gz
tg_owt-git20251128.tar.xz
----------(Old B)----------
Old:- Updated tg_owt to git20251128
* Removed tg_owt-pipewire.patch
- Updated td to git20251210
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.d2dEcz/_old 2025-12-16 16:03:47.929928815 +0100
+++ /var/tmp/diff_new_pack.d2dEcz/_new 2025-12-16 16:03:47.933928984 +0100
@@ -22,10 +22,10 @@
%define api_hash d524b414d21f4d37f08684c1df41ac9c
%define ada_ver 3.3.0
%define h264_ver 2.6.0
-%define owt_ver git20251115
-%define td_ver git20251201
+%define owt_ver git20251128
+%define td_ver git20251210
Name: telegram-desktop
-Version: 6.3.6
+Version: 6.3.9
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@@ -39,7 +39,6 @@
# n=td && cd /tmp && git clone --depth=1 https://github.com/tdlib/$n && pushd
$n && v=git$(TZ=UTC date -d @`git log -1 --format=%at` +%Y%m%d) && d=$n-$v &&
f=$d.tar.xz && rm -rf .??* && popd && mv $n $d && tar c --remove-files "$d" |
xz -9e > "$f"
Source4: td-%{td_ver}.tar.xz
Patch0: tg_owt-h264-dlopen.patch
-Patch1: tg_owt-pipewire.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: glibc-devel
@@ -139,7 +138,6 @@
mv ../tg_owt-%{owt_ver} Telegram/ThirdParty/tg_owt
pushd Telegram/ThirdParty/tg_owt
%autopatch -p2 0
-%autopatch -p1 1
popd
mv ../td-%{td_ver} Telegram/ThirdParty/td
++++++ td-git20251201.tar.xz -> td-git20251210.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/CMake/TdSetUpCompiler.cmake
new/td-git20251210/CMake/TdSetUpCompiler.cmake
--- old/td-git20251201/CMake/TdSetUpCompiler.cmake 2025-12-06
08:23:49.490313687 +0100
+++ new/td-git20251210/CMake/TdSetUpCompiler.cmake 2025-12-16
06:48:36.435013216 +0100
@@ -109,33 +109,32 @@
if (NOT MSVC)
add_cxx_compiler_flag("-Wall")
add_cxx_compiler_flag("-Wextra")
- add_cxx_compiler_flag("-Wimplicit-fallthrough=2")
- add_cxx_compiler_flag("-Wpointer-arith")
+ # add_cxx_compiler_flag("-Werror")
+
+ add_cxx_compiler_flag("-flto-odr-type-merging")
+ add_cxx_compiler_flag("-Qunused-arguments")
+ add_cxx_compiler_flag("-Walloc-zero")
+ add_cxx_compiler_flag("-Wc++17-compat-pedantic")
add_cxx_compiler_flag("-Wcast-qual")
- add_cxx_compiler_flag("-Wsign-compare")
+ add_cxx_compiler_flag("-Wconversion")
+ add_cxx_compiler_flag("-Wdeprecated")
add_cxx_compiler_flag("-Wduplicated-branches")
add_cxx_compiler_flag("-Wduplicated-cond")
- add_cxx_compiler_flag("-Walloc-zero")
+ add_cxx_compiler_flag("-Wimplicit-fallthrough=2")
add_cxx_compiler_flag("-Wlogical-op")
- add_cxx_compiler_flag("-Wno-tautological-compare")
- add_cxx_compiler_flag("-Wpointer-arith")
- add_cxx_compiler_flag("-Wvla")
- add_cxx_compiler_flag("-Wnon-virtual-dtor")
- add_cxx_compiler_flag("-Wno-unused-parameter")
- add_cxx_compiler_flag("-Wconversion")
+ add_cxx_compiler_flag("-Wno-psabi")
add_cxx_compiler_flag("-Wno-sign-conversion")
- add_cxx_compiler_flag("-Wc++17-compat-pedantic")
- add_cxx_compiler_flag("-Wdeprecated")
- add_cxx_compiler_flag("-Wno-unused-command-line-argument")
- add_cxx_compiler_flag("-Qunused-arguments")
+ add_cxx_compiler_flag("-Wno-tautological-compare")
add_cxx_compiler_flag("-Wno-unknown-warning-option")
+ add_cxx_compiler_flag("-Wno-unused-command-line-argument")
+ add_cxx_compiler_flag("-Wno-unused-parameter")
+ add_cxx_compiler_flag("-Wnon-virtual-dtor")
add_cxx_compiler_flag("-Wodr")
- add_cxx_compiler_flag("-flto-odr-type-merging")
- add_cxx_compiler_flag("-Wno-psabi")
+ add_cxx_compiler_flag("-Wpointer-arith")
+ add_cxx_compiler_flag("-Wsign-compare")
add_cxx_compiler_flag("-Wunused-member-function")
add_cxx_compiler_flag("-Wunused-private-field")
-
- # add_cxx_compiler_flag("-Werror")
+ add_cxx_compiler_flag("-Wvla")
# add_cxx_compiler_flag("-Wcast-align")
@@ -154,17 +153,14 @@
add_cxx_compiler_flag("-Wno-cast-function-type")
endif()
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0))
- # warns about a lot of "return std::move", which are not redundant for
compilers without fix for DR 1579, i.e. GCC 4.9 or clang 3.8
+ # warns about a lot of "return std::move", which are not redundant for
compilers without proper fix for DR 1579, i.e. GCC 8
# see http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1579
+ # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452
add_cxx_compiler_flag("-Wno-redundant-move")
endif()
if (GCC)
add_cxx_compiler_flag("-Wno-stringop-overflow") # some false positives
endif()
- if (CLANG AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.5))
- #
https://stackoverflow.com/questions/26744556/warning-returning-a-captured-reference-from-a-lambda
- add_cxx_compiler_flag("-Wno-return-stack-address")
- endif()
if (GCC AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13.0))
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104030
add_cxx_compiler_flag("-Wbidi-chars=none")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/example/README.md
new/td-git20251210/example/README.md
--- old/td-git20251201/example/README.md 2025-12-06 08:23:49.506313539
+0100
+++ new/td-git20251210/example/README.md 2025-12-16 06:48:36.451013106
+0100
@@ -50,7 +50,7 @@
The wrapper uses the full power of asyncio, has a good documentation and has
several examples. It can be installed through pip or used in a Docker container.
You can also try a fork [python-telegram](https://github.com/iTeam-co/pytglib)
of this library.
-If you want to use TDLib with asyncio and Python >= 3.9, take a look at
[aiotdlib](https://github.com/pylakey/aiotdlib) or
[Pytdbot](https://github.com/pytdbot/client).
+If you want to use TDLib with asyncio and Python >= 3.9, take a look at
[aiotdlib](https://github.com/pylakey/aiotdlib) or
[Pytdbot](https://github.com/pytdbot/client) (built on
[AYMENJD/tdjson](https://github.com/AYMENJD/tdjson), a high-performance TDLib
binding).
For older Python versions you can use
[pytdlib](https://github.com/pytdlib/pytdlib).
This wrapper contains generator for TDLib API classes and basic interface for
interaction with TDLib.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/generate/scheme/td_api.tl
new/td-git20251210/td/generate/scheme/td_api.tl
--- old/td-git20251201/td/generate/scheme/td_api.tl 2025-12-06
08:23:49.854310305 +0100
+++ new/td-git20251210/td/generate/scheme/td_api.tl 2025-12-16
06:48:36.816010597 +0100
@@ -1534,8 +1534,8 @@
//@current_round_end_date Point in time (Unix timestamp) when the current
round will end
//@current_round_number 1-based number of the current round
//@total_round_count The total number of rounds
-//@left_item_count The number of items that have to be distributed on the
auciton
-//@acquired_item_count The number of items that were purchased by the current
user on the auciton
+//@left_item_count The number of items that have to be distributed on the
auction
+//@acquired_item_count The number of items that were purchased by the current
user on the auction
//@user_bid Bid of the current user in the auction; may be null if none
auctionStateActive start_date:int32 end_date:int32 min_bid:int53
bid_levels:vector<auctionBid> top_bidder_user_ids:vector<int53>
current_round_end_date:int32 current_round_number:int32 total_round_count:int32
left_item_count:int32 acquired_item_count:int32 user_bid:userAuctionBid =
AuctionState;
@@ -1543,7 +1543,7 @@
//@start_date Point in time (Unix timestamp) when the auction started
//@end_date Point in time (Unix timestamp) when the auction will be ended
//@average_price Average price of bought items in Telegram Stars
-//@acquired_item_count The number of items that were purchased by the current
user on the auciton
+//@acquired_item_count The number of items that were purchased by the current
user on the auction
auctionStateFinished start_date:int32 end_date:int32 average_price:int53
acquired_item_count:int32 = AuctionState;
@@ -1577,81 +1577,81 @@
//@class StarTransactionType @description Describes type of transaction with
Telegram Stars
-//@description The transaction is a deposit of Telegram Stars from the Premium
bot; for regular users only
+//@description The transaction is a deposit of Telegram Stars from the Premium
bot; relevant for regular users only
starTransactionTypePremiumBotDeposit = StarTransactionType;
-//@description The transaction is a deposit of Telegram Stars from App Store;
for regular users only
+//@description The transaction is a deposit of Telegram Stars from App Store;
relevant for regular users only
starTransactionTypeAppStoreDeposit = StarTransactionType;
-//@description The transaction is a deposit of Telegram Stars from Google
Play; for regular users only
+//@description The transaction is a deposit of Telegram Stars from Google
Play; relevant for regular users only
starTransactionTypeGooglePlayDeposit = StarTransactionType;
-//@description The transaction is a deposit of Telegram Stars from Fragment;
for regular users and bots only
+//@description The transaction is a deposit of Telegram Stars from Fragment;
relevant for regular users and bots only
starTransactionTypeFragmentDeposit = StarTransactionType;
-//@description The transaction is a deposit of Telegram Stars by another user;
for regular users only
+//@description The transaction is a deposit of Telegram Stars by another user;
relevant for regular users only
//@user_id Identifier of the user that gifted Telegram Stars; 0 if the user
was anonymous
//@sticker The sticker to be shown in the transaction information; may be null
if unknown
starTransactionTypeUserDeposit user_id:int53 sticker:sticker =
StarTransactionType;
-//@description The transaction is a deposit of Telegram Stars from a giveaway;
for regular users only
+//@description The transaction is a deposit of Telegram Stars from a giveaway;
relevant for regular users only
//@chat_id Identifier of a supergroup or a channel chat that created the
giveaway
//@giveaway_message_id Identifier of the message with the giveaway; can be 0
or an identifier of a deleted message
starTransactionTypeGiveawayDeposit chat_id:int53 giveaway_message_id:int53 =
StarTransactionType;
-//@description The transaction is a withdrawal of earned Telegram Stars to
Fragment; for regular users, bots, supergroup and channel chats only
+//@description The transaction is a withdrawal of earned Telegram Stars to
Fragment; relevant for regular users, bots, supergroup and channel chats only
//@withdrawal_state State of the withdrawal; may be null for refunds from
Fragment
starTransactionTypeFragmentWithdrawal withdrawal_state:RevenueWithdrawalState
= StarTransactionType;
-//@description The transaction is a withdrawal of earned Telegram Stars to
Telegram Ad platform; for bots and channel chats only
+//@description The transaction is a withdrawal of earned Telegram Stars to
Telegram Ad platform; relevant for bots and channel chats only
starTransactionTypeTelegramAdsWithdrawal = StarTransactionType;
-//@description The transaction is a payment for Telegram API usage; for bots
only @request_count The number of billed requests
+//@description The transaction is a payment for Telegram API usage; relevant
for bots only @request_count The number of billed requests
starTransactionTypeTelegramApiUsage request_count:int32 = StarTransactionType;
-//@description The transaction is a purchase of paid media from a bot or a
business account by the current user; for regular users only
+//@description The transaction is a purchase of paid media from a bot or a
business account by the current user; relevant for regular users only
//@user_id Identifier of the bot or the business account user that sent the
paid media
//@media The bought media if the transaction wasn't refunded
starTransactionTypeBotPaidMediaPurchase user_id:int53 media:vector<PaidMedia>
= StarTransactionType;
-//@description The transaction is a sale of paid media by the bot or a
business account managed by the bot; for bots only
+//@description The transaction is a sale of paid media by the bot or a
business account managed by the bot; relevant for bots only
//@user_id Identifier of the user that bought the media
//@media The bought media
//@payload Bot-provided payload
//@affiliate Information about the affiliate which received commission from
the transaction; may be null if none
starTransactionTypeBotPaidMediaSale user_id:int53 media:vector<PaidMedia>
payload:string affiliate:affiliateInfo = StarTransactionType;
-//@description The transaction is a purchase of paid media from a channel by
the current user; for regular users only
+//@description The transaction is a purchase of paid media from a channel by
the current user; relevant for regular users only
//@chat_id Identifier of the channel chat that sent the paid media
//@message_id Identifier of the corresponding message with paid media; can be
0 or an identifier of a deleted message
//@media The bought media if the transaction wasn't refunded
starTransactionTypeChannelPaidMediaPurchase chat_id:int53 message_id:int53
media:vector<PaidMedia> = StarTransactionType;
-//@description The transaction is a sale of paid media by the channel chat;
for channel chats only
+//@description The transaction is a sale of paid media by the channel chat;
relevant for channel chats only
//@user_id Identifier of the user that bought the media
//@message_id Identifier of the corresponding message with paid media; can be
0 or an identifier of a deleted message
//@media The bought media
starTransactionTypeChannelPaidMediaSale user_id:int53 message_id:int53
media:vector<PaidMedia> = StarTransactionType;
-//@description The transaction is a purchase of a product from a bot or a
business account by the current user; for regular users only
+//@description The transaction is a purchase of a product from a bot or a
business account by the current user; relevant for regular users only
//@user_id Identifier of the bot or the business account user that created the
invoice
//@product_info Information about the bought product
starTransactionTypeBotInvoicePurchase user_id:int53 product_info:productInfo =
StarTransactionType;
-//@description The transaction is a sale of a product by the bot; for bots only
+//@description The transaction is a sale of a product by the bot; relevant for
bots only
//@user_id Identifier of the user that bought the product
//@product_info Information about the bought product
//@invoice_payload Invoice payload
//@affiliate Information about the affiliate which received commission from
the transaction; may be null if none
starTransactionTypeBotInvoiceSale user_id:int53 product_info:productInfo
invoice_payload:bytes affiliate:affiliateInfo = StarTransactionType;
-//@description The transaction is a purchase of a subscription from a bot or a
business account by the current user; for regular users only
+//@description The transaction is a purchase of a subscription from a bot or a
business account by the current user; relevant for regular users only
//@user_id Identifier of the bot or the business account user that created the
subscription link
//@subscription_period The number of seconds between consecutive Telegram Star
debitings
//@product_info Information about the bought subscription
starTransactionTypeBotSubscriptionPurchase user_id:int53
subscription_period:int32 product_info:productInfo = StarTransactionType;
-//@description The transaction is a sale of a subscription by the bot; for
bots only
+//@description The transaction is a sale of a subscription by the bot;
relevant for bots only
//@user_id Identifier of the user that bought the subscription
//@subscription_period The number of seconds between consecutive Telegram Star
debitings
//@product_info Information about the bought subscription
@@ -1659,111 +1659,111 @@
//@affiliate Information about the affiliate which received commission from
the transaction; may be null if none
starTransactionTypeBotSubscriptionSale user_id:int53 subscription_period:int32
product_info:productInfo invoice_payload:bytes affiliate:affiliateInfo =
StarTransactionType;
-//@description The transaction is a purchase of a subscription to a channel
chat by the current user; for regular users only
+//@description The transaction is a purchase of a subscription to a channel
chat by the current user; relevant for regular users only
//@chat_id Identifier of the channel chat that created the subscription
//@subscription_period The number of seconds between consecutive Telegram Star
debitings
starTransactionTypeChannelSubscriptionPurchase chat_id:int53
subscription_period:int32 = StarTransactionType;
-//@description The transaction is a sale of a subscription by the channel
chat; for channel chats only
+//@description The transaction is a sale of a subscription by the channel
chat; relevant for channel chats only
//@user_id Identifier of the user that bought the subscription
//@subscription_period The number of seconds between consecutive Telegram Star
debitings
starTransactionTypeChannelSubscriptionSale user_id:int53
subscription_period:int32 = StarTransactionType;
-//@description The transaction is a bid on a gift auction; for regular users
only @owner_id Identifier of the user that will receive the gift @gift The gift
+//@description The transaction is a bid on a gift auction; relevant for
regular users only @owner_id Identifier of the user that will receive the gift
@gift The gift
starTransactionTypeGiftAuctionBid owner_id:MessageSender gift:gift =
StarTransactionType;
-//@description The transaction is a purchase of a regular gift; for regular
users and bots only @owner_id Identifier of the user or the channel that
received the gift @gift The gift
+//@description The transaction is a purchase of a regular gift; relevant for
regular users and bots only @owner_id Identifier of the user or the channel
that received the gift @gift The gift
starTransactionTypeGiftPurchase owner_id:MessageSender gift:gift =
StarTransactionType;
-//@description The transaction is a transfer of an upgraded gift; for regular
users only @owner_id Identifier of the user or the channel that received the
gift @gift The gift
+//@description The transaction is a transfer of an upgraded gift; relevant for
regular users only @owner_id Identifier of the user or the channel that
received the gift @gift The gift
starTransactionTypeGiftTransfer owner_id:MessageSender gift:upgradedGift =
StarTransactionType;
-//@description The transaction is a drop of original details of an upgraded
gift; for regular users only @owner_id Identifier of the user or the channel
that owns the gift @gift The gift
+//@description The transaction is a drop of original details of an upgraded
gift; relevant for regular users only @owner_id Identifier of the user or the
channel that owns the gift @gift The gift
starTransactionTypeGiftOriginalDetailsDrop owner_id:MessageSender
gift:upgradedGift = StarTransactionType;
-//@description The transaction is a sale of a received gift; for regular users
and channel chats only @user_id Identifier of the user that sent the gift @gift
The gift
+//@description The transaction is a sale of a received gift; relevant for
regular users and channel chats only @user_id Identifier of the user that sent
the gift @gift The gift
starTransactionTypeGiftSale user_id:int53 gift:gift = StarTransactionType;
-//@description The transaction is an upgrade of a gift; for regular users only
@user_id Identifier of the user that initially sent the gift @gift The upgraded
gift
+//@description The transaction is an upgrade of a gift; relevant for regular
users only @user_id Identifier of the user that initially sent the gift @gift
The upgraded gift
starTransactionTypeGiftUpgrade user_id:int53 gift:upgradedGift =
StarTransactionType;
-//@description The transaction is a purchase of an upgrade of a gift owned by
another user or channel; for regular users only @owner_id Owner of the upgraded
gift @gift The gift
+//@description The transaction is a purchase of an upgrade of a gift owned by
another user or channel; relevant for regular users only @owner_id Owner of the
upgraded gift @gift The gift
starTransactionTypeGiftUpgradePurchase owner_id:MessageSender gift:gift =
StarTransactionType;
-//@description The transaction is a purchase of an upgraded gift for some user
or channel; for regular users only @user_id Identifier of the user that sold
the gift @gift The gift
+//@description The transaction is a purchase of an upgraded gift for some user
or channel; relevant for regular users only @user_id Identifier of the user
that sold the gift @gift The gift
starTransactionTypeUpgradedGiftPurchase user_id:int53 gift:upgradedGift =
StarTransactionType;
-//@description The transaction is a sale of an upgraded gift; for regular
users only
+//@description The transaction is a sale of an upgraded gift; relevant for
regular users only
//@user_id Identifier of the user that bought the gift
//@gift The gift
//@commission_per_mille The number of Telegram Stars received by the Telegram
for each 1000 Telegram Stars received by the seller of the gift
//@commission_star_amount The amount of Telegram Stars that were received by
Telegram; can be negative for refunds
starTransactionTypeUpgradedGiftSale user_id:int53 gift:upgradedGift
commission_per_mille:int32 commission_star_amount:starAmount =
StarTransactionType;
-//@description The transaction is a sending of a paid reaction to a message in
a channel chat by the current user; for regular users only
+//@description The transaction is a sending of a paid reaction to a message in
a channel chat by the current user; relevant for regular users only
//@chat_id Identifier of the channel chat
//@message_id Identifier of the reacted message; can be 0 or an identifier of
a deleted message
starTransactionTypeChannelPaidReactionSend chat_id:int53 message_id:int53 =
StarTransactionType;
-//@description The transaction is a receiving of a paid reaction to a message
by the channel chat; for channel chats only
+//@description The transaction is a receiving of a paid reaction to a message
by the channel chat; relevant for channel chats only
//@user_id Identifier of the user that added the paid reaction
//@message_id Identifier of the reacted message; can be 0 or an identifier of
a deleted message
starTransactionTypeChannelPaidReactionReceive user_id:int53 message_id:int53 =
StarTransactionType;
-//@description The transaction is a receiving of a commission from an
affiliate program; for regular users, bots and channel chats only
+//@description The transaction is a receiving of a commission from an
affiliate program; relevant for regular users, bots and channel chats only
//@chat_id Identifier of the chat that created the affiliate program
//@commission_per_mille The number of Telegram Stars received by the affiliate
for each 1000 Telegram Stars received by the program owner
starTransactionTypeAffiliateProgramCommission chat_id:int53
commission_per_mille:int32 = StarTransactionType;
-//@description The transaction is a sending of a paid message; for regular
users only @chat_id Identifier of the chat that received the payment
@message_count Number of sent paid messages
+//@description The transaction is a sending of a paid message; relevant for
regular users only @chat_id Identifier of the chat that received the payment
@message_count Number of sent paid messages
starTransactionTypePaidMessageSend chat_id:int53 message_count:int32 =
StarTransactionType;
-//@description The transaction is a receiving of a paid message; for regular
users, supergroup and channel chats only
+//@description The transaction is a receiving of a paid message; relevant for
regular users, supergroup and channel chats only
//@sender_id Identifier of the sender of the message
//@message_count Number of received paid messages
//@commission_per_mille The number of Telegram Stars received by the Telegram
for each 1000 Telegram Stars paid for message sending
//@commission_star_amount The amount of Telegram Stars that were received by
Telegram; can be negative for refunds
starTransactionTypePaidMessageReceive sender_id:MessageSender
message_count:int32 commission_per_mille:int32
commission_star_amount:starAmount = StarTransactionType;
-//@description The transaction is a sending of a paid group call message; for
regular users only @chat_id Identifier of the chat that received the payment
+//@description The transaction is a sending of a paid group call message;
relevant for regular users only @chat_id Identifier of the chat that received
the payment
starTransactionTypePaidGroupCallMessageSend chat_id:int53 =
StarTransactionType;
-//@description The transaction is a receiving of a paid group call message;
for regular users and channel chats only
+//@description The transaction is a receiving of a paid group call message;
relevant for regular users and channel chats only
//@sender_id Identifier of the sender of the message
//@commission_per_mille The number of Telegram Stars received by the Telegram
for each 1000 Telegram Stars paid for message sending
//@commission_star_amount The amount of Telegram Stars that were received by
Telegram; can be negative for refunds
starTransactionTypePaidGroupCallMessageReceive sender_id:MessageSender
commission_per_mille:int32 commission_star_amount:starAmount =
StarTransactionType;
-//@description The transaction is a sending of a paid group reaction; for
regular users only @chat_id Identifier of the chat that received the payment
+//@description The transaction is a sending of a paid group reaction; relevant
for regular users only @chat_id Identifier of the chat that received the payment
starTransactionTypePaidGroupCallReactionSend chat_id:int53 =
StarTransactionType;
-//@description The transaction is a receiving of a paid group call reaction;
for regular users and channel chats only
+//@description The transaction is a receiving of a paid group call reaction;
relevant for regular users and channel chats only
//@sender_id Identifier of the sender of the reaction
//@commission_per_mille The number of Telegram Stars received by the Telegram
for each 1000 Telegram Stars paid for reaction sending
//@commission_star_amount The amount of Telegram Stars that were received by
Telegram; can be negative for refunds
starTransactionTypePaidGroupCallReactionReceive sender_id:MessageSender
commission_per_mille:int32 commission_star_amount:starAmount =
StarTransactionType;
-//@description The transaction is a payment for a suggested post; for regular
users only
+//@description The transaction is a payment for a suggested post; relevant for
regular users only
//@chat_id Identifier of the channel chat that posted the post
starTransactionTypeSuggestedPostPaymentSend chat_id:int53 =
StarTransactionType;
-//@description The transaction is a receiving of a payment for a suggested
post by the channel chat; for channel chats only
+//@description The transaction is a receiving of a payment for a suggested
post by the channel chat; relevant for channel chats only
//@user_id Identifier of the user that paid for the suggested post
starTransactionTypeSuggestedPostPaymentReceive user_id:int53 =
StarTransactionType;
-//@description The transaction is a purchase of Telegram Premium subscription;
for regular users and bots only
+//@description The transaction is a purchase of Telegram Premium subscription;
relevant for regular users and bots only
//@user_id Identifier of the user that received the Telegram Premium
subscription
//@month_count Number of months the Telegram Premium subscription will be
active
//@sticker A sticker to be shown in the transaction information; may be null
if unknown
starTransactionTypePremiumPurchase user_id:int53 month_count:int32
sticker:sticker = StarTransactionType;
-//@description The transaction is a transfer of Telegram Stars to a business
bot; for regular users only @user_id Identifier of the bot that received
Telegram Stars
+//@description The transaction is a transfer of Telegram Stars to a business
bot; relevant for regular users only @user_id Identifier of the bot that
received Telegram Stars
starTransactionTypeBusinessBotTransferSend user_id:int53 = StarTransactionType;
-//@description The transaction is a transfer of Telegram Stars from a business
account; for bots only @user_id Identifier of the user that sent Telegram Stars
+//@description The transaction is a transfer of Telegram Stars from a business
account; relevant for bots only @user_id Identifier of the user that sent
Telegram Stars
starTransactionTypeBusinessBotTransferReceive user_id:int53 =
StarTransactionType;
-//@description The transaction is a payment for search of posts in public
Telegram channels; for regular users only
+//@description The transaction is a payment for search of posts in public
Telegram channels; relevant for regular users only
starTransactionTypePublicPostSearch = StarTransactionType;
//@description The transaction is a transaction of an unsupported type
@@ -1795,10 +1795,10 @@
//@description The transaction is a payment for a suggested post @chat_id
Identifier of the channel chat that posted the post
tonTransactionTypeSuggestedPostPayment chat_id:int53 = TonTransactionType;
-//@description The transaction is a purchase of an upgraded gift for some user
or channel; for regular users only @user_id Identifier of the user that sold
the gift @gift The gift
+//@description The transaction is a purchase of an upgraded gift for some user
or channel @user_id Identifier of the user that sold the gift @gift The gift
tonTransactionTypeUpgradedGiftPurchase user_id:int53 gift:upgradedGift =
TonTransactionType;
-//@description The transaction is a sale of an upgraded gift; for regular
users only
+//@description The transaction is a sale of an upgraded gift
//@user_id Identifier of the user that bought the gift
//@gift The gift
//@commission_per_mille The number of Toncoins received by the Telegram for
each 1000 Toncoins received by the seller of the gift
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/ForumTopicManager.cpp
new/td-git20251210/td/telegram/ForumTopicManager.cpp
--- old/td-git20251201/td/telegram/ForumTopicManager.cpp 2025-12-06
08:23:50.051308474 +0100
+++ new/td-git20251210/td/telegram/ForumTopicManager.cpp 2025-12-16
06:48:37.015009229 +0100
@@ -305,7 +305,7 @@
dialog_id_ = dialog_id;
forum_topic_id_ = forum_topic_id;
- auto input_peer = td_->dialog_manager_->get_input_peer(dialog_id,
AccessRights::Write);
+ auto input_peer = td_->dialog_manager_->get_input_peer(dialog_id,
AccessRights::Read);
if (input_peer == nullptr) {
return on_error(Status::Error(400, "Can't access the chat"));
}
@@ -370,7 +370,7 @@
ForumTopicId offset_forum_topic_id, int32 limit) {
dialog_id_ = dialog_id;
- auto input_peer = td_->dialog_manager_->get_input_peer(dialog_id,
AccessRights::Write);
+ auto input_peer = td_->dialog_manager_->get_input_peer(dialog_id,
AccessRights::Read);
if (input_peer == nullptr) {
return on_error(Status::Error(400, "Can't access the chat"));
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/MessageEntity.cpp
new/td-git20251210/td/telegram/MessageEntity.cpp
--- old/td-git20251201/td/telegram/MessageEntity.cpp 2025-12-06
08:23:50.104307981 +0100
+++ new/td-git20251210/td/telegram/MessageEntity.cpp 2025-12-16
06:48:37.071008844 +0100
@@ -1336,7 +1336,7 @@
}
const FlatHashSet<Slice, SliceHash> &get_valid_short_usernames() {
- static const FlatHashSet<Slice, SliceHash> valid_usernames{"gif", "vid",
"pic"};
+ static const FlatHashSet<Slice, SliceHash> valid_usernames{"gif", "nft",
"pic", "ufc", "vid"};
return valid_usernames;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/StarGiftAuctionState.cpp
new/td-git20251210/td/telegram/StarGiftAuctionState.cpp
--- old/td-git20251201/td/telegram/StarGiftAuctionState.cpp 2025-12-06
08:23:50.235306764 +0100
+++ new/td-git20251210/td/telegram/StarGiftAuctionState.cpp 2025-12-16
06:48:37.206007916 +0100
@@ -17,11 +17,12 @@
namespace td {
-StarGiftAuctionState::StarGiftAuctionState(telegram_api::object_ptr<telegram_api::StarGiftAuctionState>
&state_ptr) {
+StarGiftAuctionState::StarGiftAuctionState(
+ const telegram_api::object_ptr<telegram_api::StarGiftAuctionState>
&state_ptr) {
CHECK(state_ptr != nullptr);
switch (state_ptr->get_id()) {
case telegram_api::starGiftAuctionState::ID: {
- auto state =
telegram_api::move_object_as<telegram_api::starGiftAuctionState>(state_ptr);
+ const auto *state = static_cast<const telegram_api::starGiftAuctionState
*>(state_ptr.get());
is_active_ = true;
start_date_ = state->start_date_;
end_date_ = state->end_date_;
@@ -56,7 +57,7 @@
break;
}
case telegram_api::starGiftAuctionStateFinished::ID: {
- auto state =
telegram_api::move_object_as<telegram_api::starGiftAuctionStateFinished>(state_ptr);
+ const auto *state = static_cast<const
telegram_api::starGiftAuctionStateFinished *>(state_ptr.get());
is_active_ = false;
start_date_ = state->start_date_;
end_date_ = state->end_date_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/StarGiftAuctionState.h
new/td-git20251210/td/telegram/StarGiftAuctionState.h
--- old/td-git20251201/td/telegram/StarGiftAuctionState.h 2025-12-06
08:23:50.235306764 +0100
+++ new/td-git20251210/td/telegram/StarGiftAuctionState.h 2025-12-16
06:48:37.206007916 +0100
@@ -42,7 +42,7 @@
public:
StarGiftAuctionState() = default;
- explicit
StarGiftAuctionState(telegram_api::object_ptr<telegram_api::StarGiftAuctionState>
&state_ptr);
+ explicit StarGiftAuctionState(const
telegram_api::object_ptr<telegram_api::StarGiftAuctionState> &state_ptr);
bool is_not_modified() const {
return is_not_modified_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/td-git20251201/td/telegram/StarGiftAuctionUserState.cpp
new/td-git20251210/td/telegram/StarGiftAuctionUserState.cpp
--- old/td-git20251201/td/telegram/StarGiftAuctionUserState.cpp 2025-12-06
08:23:50.235306764 +0100
+++ new/td-git20251210/td/telegram/StarGiftAuctionUserState.cpp 2025-12-16
06:48:37.206007916 +0100
@@ -12,7 +12,7 @@
namespace td {
StarGiftAuctionUserState::StarGiftAuctionUserState(
- telegram_api::object_ptr<telegram_api::starGiftAuctionUserState> &state) {
+ const telegram_api::object_ptr<telegram_api::starGiftAuctionUserState>
&state) {
CHECK(state != nullptr);
bid_amount_ = StarManager::get_star_count(state->bid_amount_);
bid_date_ = max(0, state->bid_date_);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/td-git20251201/td/telegram/StarGiftAuctionUserState.h
new/td-git20251210/td/telegram/StarGiftAuctionUserState.h
--- old/td-git20251201/td/telegram/StarGiftAuctionUserState.h 2025-12-06
08:23:50.235306764 +0100
+++ new/td-git20251210/td/telegram/StarGiftAuctionUserState.h 2025-12-16
06:48:37.207007909 +0100
@@ -29,7 +29,7 @@
public:
StarGiftAuctionUserState() = default;
- explicit
StarGiftAuctionUserState(telegram_api::object_ptr<telegram_api::starGiftAuctionUserState>
&state);
+ explicit StarGiftAuctionUserState(const
telegram_api::object_ptr<telegram_api::starGiftAuctionUserState> &state);
td_api::object_ptr<td_api::userAuctionBid> get_user_auction_bid_object(Td
*td) const;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/StarGiftManager.cpp
new/td-git20251210/td/telegram/StarGiftManager.cpp
--- old/td-git20251201/td/telegram/StarGiftManager.cpp 2025-12-06
08:23:50.240306717 +0100
+++ new/td-git20251210/td/telegram/StarGiftManager.cpp 2025-12-16
06:48:37.211007882 +0100
@@ -2110,14 +2110,14 @@
std::move(promise));
}
-Result<StarGiftManager::AuctionInfo> StarGiftManager::get_auction_info(
+const StarGiftManager::AuctionInfo *StarGiftManager::get_auction_info(
telegram_api::object_ptr<telegram_api::StarGift> &&star_gift,
telegram_api::object_ptr<telegram_api::StarGiftAuctionState> &&state,
telegram_api::object_ptr<telegram_api::starGiftAuctionUserState>
&&user_state) {
auto gift = StarGift(td_, std::move(star_gift), false);
if (!gift.is_valid() || gift.get_id() == 0) {
LOG(ERROR) << "Receive invalid auction gift";
- return Status::Error(500, "Receive invalid response");
+ return nullptr;
}
bool is_changed = false;
@@ -2140,7 +2140,7 @@
if (is_changed) {
send_update_gift_auction_state(info);
}
- return std::move(info);
+ return &info;
}
void StarGiftManager::reload_gift_auction_state(
@@ -2165,16 +2165,17 @@
td_->user_manager_->on_get_users(std::move(state->users_),
"on_get_auction_state");
- TRY_RESULT_PROMISE(
- promise, info,
- get_auction_info(std::move(state->gift_), std::move(state->state_),
std::move(state->user_state_)));
+ auto info = get_auction_info(std::move(state->gift_),
std::move(state->state_), std::move(state->user_state_));
+ if (info == nullptr) {
+ return promise.set_error(500, "Receive invalid response");
+ }
- auto gift_id = info.gift_.get_id();
+ auto gift_id = info->gift_.get_id();
if (gift_auction_infos_.count(gift_id) > 0) {
reload_gift_auction_timeout_.set_timeout_in(gift_id, state->timeout_);
}
if (promise) {
- promise.set_value(get_gift_auction_state_object(info));
+ promise.set_value(get_gift_auction_state_object(*info));
}
}
@@ -2263,12 +2264,12 @@
td_->user_manager_->on_get_users(std::move(auctions->users_),
"on_get_active_gift_auctions");
vector<AuctionInfo> new_active_auctions;
for (auto &auction : auctions->auctions_) {
- auto r_info =
+ auto info =
get_auction_info(std::move(auction->gift_),
std::move(auction->state_), std::move(auction->user_state_));
- if (r_info.is_error()) {
+ if (info == nullptr) {
continue;
}
- new_active_auctions.push_back(r_info.move_as_ok());
+ new_active_auctions.push_back(*info);
}
if (active_gift_auctions_ != new_active_auctions) {
active_gift_auctions_ = std::move(new_active_auctions);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/StarGiftManager.h
new/td-git20251210/td/telegram/StarGiftManager.h
--- old/td-git20251201/td/telegram/StarGiftManager.h 2025-12-06
08:23:50.240306717 +0100
+++ new/td-git20251210/td/telegram/StarGiftManager.h 2025-12-16
06:48:37.212007875 +0100
@@ -191,9 +191,9 @@
void on_dialog_gift_transferred(DialogId from_dialog_id, DialogId
to_dialog_id, Promise<Unit> &&promise);
- Result<AuctionInfo>
get_auction_info(telegram_api::object_ptr<telegram_api::StarGift> &&star_gift,
-
telegram_api::object_ptr<telegram_api::StarGiftAuctionState> &&state,
-
telegram_api::object_ptr<telegram_api::starGiftAuctionUserState> &&user_state);
+ const AuctionInfo
*get_auction_info(telegram_api::object_ptr<telegram_api::StarGift> &&star_gift,
+
telegram_api::object_ptr<telegram_api::StarGiftAuctionState> &&state,
+
telegram_api::object_ptr<telegram_api::starGiftAuctionUserState> &&user_state);
void
reload_gift_auction_state(telegram_api::object_ptr<telegram_api::InputStarGiftAuction>
&&input_auction,
int32 version,
Promise<td_api::object_ptr<td_api::giftAuctionState>> &&promise);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/SuggestedAction.h
new/td-git20251210/td/telegram/SuggestedAction.h
--- old/td-git20251201/td/telegram/SuggestedAction.h 2025-12-06
08:23:50.263306503 +0100
+++ new/td-git20251210/td/telegram/SuggestedAction.h 2025-12-16
06:48:37.235007717 +0100
@@ -107,7 +107,7 @@
return static_cast<int32>(lhs.type_) < static_cast<int32>(rhs.type_);
}
if (lhs.custom_type_ != rhs.custom_type_) {
- return lhs.custom_type_ == rhs.custom_type_;
+ return lhs.custom_type_ < rhs.custom_type_;
}
return lhs.url_ < rhs.url_;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/td-git20251201/td/telegram/cli.cpp
new/td-git20251210/td/telegram/cli.cpp
--- old/td-git20251201/td/telegram/cli.cpp 2025-12-06 08:23:50.318305992
+0100
+++ new/td-git20251210/td/telegram/cli.cpp 2025-12-16 06:48:37.293007318
+0100
@@ -607,7 +607,7 @@
}
vector<int32> as_story_ids(Slice story_ids) const {
- return transform(autosplit(story_ids), [this](Slice str) { return
as_story_id(str); });
+ return transform(autosplit(story_ids), [](Slice str) { return
as_story_id(str); });
}
static int32 as_story_album_id(Slice str) {
@@ -615,7 +615,7 @@
}
vector<int32> as_story_album_ids(Slice story_album_ids) const {
- return transform(autosplit(story_album_ids), [this](Slice str) { return
as_story_album_id(str); });
+ return transform(autosplit(story_album_ids), [](Slice str) { return
as_story_album_id(str); });
}
static int32 as_gift_collection_id(Slice str) {
@@ -3310,7 +3310,7 @@
get_args(args, owner_id, collection_ids);
send_request(td_api::make_object<td_api::reorderGiftCollections>(
as_message_sender(owner_id),
- transform(autosplit(collection_ids), [this](Slice str) { return
as_gift_collection_id(str); })));
+ transform(autosplit(collection_ids), [](Slice str) { return
as_gift_collection_id(str); })));
} else if (op == "dgic") {
string owner_id;
GiftCollectionId gift_collection_id;
++++++ tdesktop-6.3.6-full.tar.gz -> tdesktop-6.3.9-full.tar.gz ++++++
/work/SRC/openSUSE:Factory/telegram-desktop/tdesktop-6.3.6-full.tar.gz
/work/SRC/openSUSE:Factory/.telegram-desktop.new.1939/tdesktop-6.3.9-full.tar.gz
differ: char 5, line 1
++++++ tg_owt-git20251115.tar.xz -> tg_owt-git20251128.tar.xz ++++++
/work/SRC/openSUSE:Factory/telegram-desktop/tg_owt-git20251115.tar.xz
/work/SRC/openSUSE:Factory/.telegram-desktop.new.1939/tg_owt-git20251128.tar.xz
differ: char 15, line 1