mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Beta version 3.2.6: Fix build on Linux.
This commit is contained in:
@@ -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];
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: 0e3f3705ec...6dbefa5bfc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user