mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Beta version 3.2.6: Fix build on Linux.
This commit is contained in:
parent
5afcd47ab0
commit
453ce1bff9
5 changed files with 2 additions and 11 deletions
|
@ -465,7 +465,6 @@ void AddSpecialBoxController::loadMoreRows() {
|
|||
MTP_long(participantsHash)
|
||||
)).done([=](const MTPchannels_ChannelParticipants &result) {
|
||||
_loadRequestId = 0;
|
||||
auto &session = channel->session();
|
||||
result.match([&](const MTPDchannels_channelParticipants &data) {
|
||||
const auto &[availableCount, list] = Api::ChatParticipants::Parse(
|
||||
channel,
|
||||
|
|
|
@ -535,7 +535,6 @@ void ParticipantsAdditionalData::applyAdminLocally(
|
|||
UserData *user,
|
||||
ChatAdminRightsInfo rights,
|
||||
const QString &rank) {
|
||||
const auto date = base::unixtime::now(); // Incorrect, but ignored.
|
||||
if (isCreator(user) && user->isSelf()) {
|
||||
applyParticipant(Api::ChatParticipant(
|
||||
Api::ChatParticipant::Type::Creator,
|
||||
|
@ -571,7 +570,6 @@ void ParticipantsAdditionalData::applyBannedLocally(
|
|||
not_null<PeerData*> participant,
|
||||
ChatRestrictionsInfo rights) {
|
||||
const auto user = participant->asUser();
|
||||
const auto date = base::unixtime::now(); // Incorrect, but ignored.
|
||||
if (!rights.flags) {
|
||||
if (user) {
|
||||
applyParticipant(Api::ChatParticipant(
|
||||
|
|
|
@ -699,8 +699,6 @@ void SessionsContent::List::paintEvent(QPaintEvent *e) {
|
|||
const auto x = st::sessionPadding.left();
|
||||
const auto y = st::sessionPadding.top();
|
||||
const auto w = width();
|
||||
const auto xact = st::sessionTerminateSkip
|
||||
+ st::sessionTerminate.iconPosition.x();
|
||||
p.translate(0, from * st::sessionHeight);
|
||||
for (auto i = from; i != till; ++i) {
|
||||
const auto &entry = _items[i];
|
||||
|
|
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 0e3f3705ecce37dc83ede0b04180a8cb0830aec3
|
||||
Subproject commit 6dbefa5bfc0fdf07eb42af103d8af0f481511c2a
|
|
@ -105,8 +105,6 @@ PRIVATE
|
|||
platform/darwin/DarwinInterface.mm
|
||||
platform/darwin/DarwinVideoSource.h
|
||||
platform/darwin/DarwinVideoSource.mm
|
||||
platform/darwin/DesktopCaptureSourceView.h
|
||||
platform/darwin/DesktopCaptureSourceView.mm
|
||||
platform/darwin/DesktopSharingCapturer.h
|
||||
platform/darwin/DesktopSharingCapturer.mm
|
||||
platform/darwin/GLVideoView.h
|
||||
|
@ -147,7 +145,7 @@ PRIVATE
|
|||
platform/darwin/VideoMetalView.mm
|
||||
platform/darwin/VideoMetalViewMac.h
|
||||
platform/darwin/VideoMetalViewMac.mm
|
||||
|
||||
|
||||
# POSIX
|
||||
|
||||
# Teleram Desktop
|
||||
|
@ -187,8 +185,6 @@ elseif (APPLE)
|
|||
-fobjc-arc
|
||||
)
|
||||
remove_target_sources(lib_tgcalls ${tgcalls_loc}
|
||||
platform/darwin/DesktopCaptureSourceView.h
|
||||
platform/darwin/DesktopCaptureSourceView.mm
|
||||
platform/darwin/GLVideoView.h
|
||||
platform/darwin/GLVideoView.mm
|
||||
platform/darwin/GLVideoViewMac.h
|
||||
|
|
Loading…
Add table
Reference in a new issue