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,
|
show,
|
||||||
chat,
|
chat,
|
||||||
CollectForbiddenUsers(&chat->session(), result));
|
CollectForbiddenUsers(&chat->session(), result));
|
||||||
|
chat->owner().addRecentJoinChat({
|
||||||
|
.fromPeerId = chat->id,
|
||||||
|
.joinedPeerId = chat->id,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
|||||||
@@ -1070,6 +1070,10 @@ void AddParticipantsBoxController::Start(
|
|||||||
channel,
|
channel,
|
||||||
params,
|
params,
|
||||||
ShowAtTheEndMsgId);
|
ShowAtTheEndMsgId);
|
||||||
|
channel->owner().addRecentJoinChat({
|
||||||
|
.fromPeerId = channel->id,
|
||||||
|
.joinedPeerId = channel->id,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}, box->lifetime());
|
}, box->lifetime());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user