mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Added ability to add newly created chat to folder.
This commit is contained in:
@@ -111,6 +111,10 @@ void ChatCreateDone(
|
||||
show,
|
||||
chat,
|
||||
CollectForbiddenUsers(&chat->session(), result));
|
||||
chat->owner().addRecentJoinChat({
|
||||
.fromPeerId = chat->id,
|
||||
.joinedPeerId = chat->id,
|
||||
});
|
||||
}
|
||||
};
|
||||
if (!success) {
|
||||
|
||||
@@ -1070,6 +1070,10 @@ void AddParticipantsBoxController::Start(
|
||||
channel,
|
||||
params,
|
||||
ShowAtTheEndMsgId);
|
||||
channel->owner().addRecentJoinChat({
|
||||
.fromPeerId = channel->id,
|
||||
.joinedPeerId = channel->id,
|
||||
});
|
||||
}
|
||||
}, box->lifetime());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user