mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Parse and apply cloud filters.
This commit is contained in:
@@ -87,6 +87,12 @@ void ChannelData::setName(const QString &newName, const QString &newUsername) {
|
||||
updateNameDelayed(newName.isEmpty() ? name : newName, QString(), newUsername);
|
||||
}
|
||||
|
||||
void ChannelData::setAccessHash(uint64 accessHash) {
|
||||
access = accessHash;
|
||||
input = MTP_inputPeerChannel(MTP_int(bareId()), MTP_long(accessHash));
|
||||
inputChannel = MTP_inputChannel(MTP_int(bareId()), MTP_long(accessHash));
|
||||
}
|
||||
|
||||
void ChannelData::setInviteLink(const QString &newInviteLink) {
|
||||
if (newInviteLink != _inviteLink) {
|
||||
_inviteLink = newInviteLink;
|
||||
|
Reference in New Issue
Block a user