fix: pin without sound by default

faee00a9aa
This commit is contained in:
ZavaruKitsu 2023-11-01 15:07:16 +03:00
parent acea390f3a
commit 15ee46dab4

View file

@ -75,7 +75,7 @@ void PinMessageBox(
auto object = object_ptr<Ui::Checkbox>(
box,
tr::lng_pinned_notify(tr::now),
true,
false,
st::urlAuthCheckbox);
object->setAllowTextLines();
state->notify = Ui::MakeWeak(object.data());