mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-04 23:40:58 +00:00
Fixed losing of saved usernames order from edit peer box.
This commit is contained in:
parent
4074a558e7
commit
50b27b51a1
@ -725,6 +725,9 @@ void Controller::fillPrivacyTypeButton() {
|
|||||||
.username = (_peer->isChannel()
|
.username = (_peer->isChannel()
|
||||||
? _peer->asChannel()->editableUsername()
|
? _peer->asChannel()->editableUsername()
|
||||||
: QString()),
|
: QString()),
|
||||||
|
.usernamesOrder = (_peer->isChannel()
|
||||||
|
? _peer->asChannel()->usernames()
|
||||||
|
: std::vector<QString>()),
|
||||||
.noForwards = !_peer->allowsForwarding(),
|
.noForwards = !_peer->allowsForwarding(),
|
||||||
.joinToWrite = (_peer->isMegagroup()
|
.joinToWrite = (_peer->isMegagroup()
|
||||||
&& _peer->asChannel()->joinToWrite()),
|
&& _peer->asChannel()->joinToWrite()),
|
||||||
|
Loading…
Reference in New Issue
Block a user