mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Support separate message type group restrictions.
This commit is contained in:
@@ -1871,6 +1871,13 @@ void SessionController::hideLayer(anim::type animated) {
|
||||
_window->hideLayer(animated);
|
||||
}
|
||||
|
||||
void SessionController::showToast(TextWithEntities &&text) {
|
||||
Ui::ShowMultilineToast({
|
||||
.parentOverride = Window::Show(this).toastParent(),
|
||||
.text = std::move(text),
|
||||
});
|
||||
}
|
||||
|
||||
void SessionController::openPhoto(
|
||||
not_null<PhotoData*> photo,
|
||||
FullMsgId contextId,
|
||||
|
Reference in New Issue
Block a user