mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 17:16:46 +00:00
New profile cover actions by buttons done.
Two new types of Observers: image loaded and async file dialog.
This commit is contained in:
@@ -396,8 +396,8 @@ void ProfileInner::onAddParticipant() {
|
||||
Ui::showLayer(new ContactsBox(_peerChat, MembersFilterRecent));
|
||||
} else if (_peerChannel && _peerChannel->mgInfo) {
|
||||
MembersAlreadyIn already;
|
||||
for (MegagroupInfo::LastParticipants::const_iterator i = _peerChannel->mgInfo->lastParticipants.cbegin(), e = _peerChannel->mgInfo->lastParticipants.cend(); i != e; ++i) {
|
||||
already.insert(*i, true);
|
||||
for_const (auto user, _peerChannel->mgInfo->lastParticipants) {
|
||||
already.insert(user);
|
||||
}
|
||||
Ui::showLayer(new ContactsBox(_peerChannel, MembersFilterRecent, already));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user