From 2dd5f8046854c8a2d7534fdb6c0fa51e21b01ee4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 14 Jul 2025 14:29:31 +0400 Subject: [PATCH] Allow transferring gifts to channels. --- Telegram/SourceFiles/boxes/transfer_gift_box.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Telegram/SourceFiles/boxes/transfer_gift_box.cpp b/Telegram/SourceFiles/boxes/transfer_gift_box.cpp index 6566f68703..d94c9d01e7 100644 --- a/Telegram/SourceFiles/boxes/transfer_gift_box.cpp +++ b/Telegram/SourceFiles/boxes/transfer_gift_box.cpp @@ -425,8 +425,6 @@ void TransferGift( Data::SavedStarGiftId savedId, Fn done, bool skipPaymentForm = false) { - Expects(to->isUser()); - const auto session = &window->session(); const auto weak = base::make_weak(window); auto formDone = [=](