2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-29 05:37:45 +00:00

Control check

This commit is contained in:
RadRussianRus 2020-03-14 23:34:50 +03:00
parent 9c7d8cc1e1
commit e9dda05a3f
4 changed files with 4 additions and 4 deletions

View File

@ -285,7 +285,7 @@ bool Manager::readCustomFile() {
cSetDisableUpEdit(v);
});
ReadArrayOption(settings, "scales", [&](auto v) {
ReadArrayOption(settings, "replaces", [&](auto v) {
for (auto i = v.constBegin(), e = v.constEnd(); i != e; ++i) {
if (!(*i).isArray()) {
continue;

View File

@ -220,8 +220,8 @@ public:
void markForbidden();
[[nodiscard]] bool isGroupAdmin(not_null<UserData*> user) const;
[[nodiscard]] bool lastParticipantsRequestNeeded() const;
[[nodiscard]] QString adminRank(not_null<UserData*> user) const;
[[nodiscard]] bool lastParticipantsRequestNeeded() const;
[[nodiscard]] bool isMegagroup() const {
return flags() & MTPDchannel::Flag::f_megagroup;
}

View File

@ -6,12 +6,12 @@ For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "platform/linux/notifications_manager_linux.h"
#include "mainwindow.h"
#ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION
#include "platform/linux/specific_linux.h"
#include "history/history.h"
#include "lang/lang_keys.h"
#include "mainwindow.h"
#include "facades.h"
#include <QtCore/QVersionNumber>

View File

@ -20,7 +20,7 @@
<url type="help">https://github.com/kotatogram/kotatogram-desktop/issues</url>
<screenshots>
<screenshot type="default">
<image>https://github.com/kotatogram/kotatogram-desktop/blob/dev/docs/assets/ktg_preview.png</image>
<image>https://raw.githubusercontent.com/kotatogram/kotatogram-desktop/dev/docs/assets/ktg_preview.png</image>
</screenshot>
</screenshots>
<keywords>