mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Control check
This commit is contained in:
@@ -285,7 +285,7 @@ bool Manager::readCustomFile() {
|
|||||||
cSetDisableUpEdit(v);
|
cSetDisableUpEdit(v);
|
||||||
});
|
});
|
||||||
|
|
||||||
ReadArrayOption(settings, "scales", [&](auto v) {
|
ReadArrayOption(settings, "replaces", [&](auto v) {
|
||||||
for (auto i = v.constBegin(), e = v.constEnd(); i != e; ++i) {
|
for (auto i = v.constBegin(), e = v.constEnd(); i != e; ++i) {
|
||||||
if (!(*i).isArray()) {
|
if (!(*i).isArray()) {
|
||||||
continue;
|
continue;
|
||||||
|
@@ -220,8 +220,8 @@ public:
|
|||||||
void markForbidden();
|
void markForbidden();
|
||||||
|
|
||||||
[[nodiscard]] bool isGroupAdmin(not_null<UserData*> user) const;
|
[[nodiscard]] bool isGroupAdmin(not_null<UserData*> user) const;
|
||||||
[[nodiscard]] bool lastParticipantsRequestNeeded() const;
|
|
||||||
[[nodiscard]] QString adminRank(not_null<UserData*> user) const;
|
[[nodiscard]] QString adminRank(not_null<UserData*> user) const;
|
||||||
|
[[nodiscard]] bool lastParticipantsRequestNeeded() const;
|
||||||
[[nodiscard]] bool isMegagroup() const {
|
[[nodiscard]] bool isMegagroup() const {
|
||||||
return flags() & MTPDchannel::Flag::f_megagroup;
|
return flags() & MTPDchannel::Flag::f_megagroup;
|
||||||
}
|
}
|
||||||
|
@@ -6,12 +6,12 @@ For license and copyright information please follow this link:
|
|||||||
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#include "platform/linux/notifications_manager_linux.h"
|
#include "platform/linux/notifications_manager_linux.h"
|
||||||
|
#include "mainwindow.h"
|
||||||
|
|
||||||
#ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION
|
#ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION
|
||||||
#include "platform/linux/specific_linux.h"
|
#include "platform/linux/specific_linux.h"
|
||||||
#include "history/history.h"
|
#include "history/history.h"
|
||||||
#include "lang/lang_keys.h"
|
#include "lang/lang_keys.h"
|
||||||
#include "mainwindow.h"
|
|
||||||
#include "facades.h"
|
#include "facades.h"
|
||||||
|
|
||||||
#include <QtCore/QVersionNumber>
|
#include <QtCore/QVersionNumber>
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
<url type="help">https://github.com/kotatogram/kotatogram-desktop/issues</url>
|
<url type="help">https://github.com/kotatogram/kotatogram-desktop/issues</url>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<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>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<keywords>
|
<keywords>
|
||||||
|
Reference in New Issue
Block a user