2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Revert changes to notification replay. And replace user settings with Both (Enter and Ctrl+Enter) to polls.

This commit is contained in:
Kirsan
2020-02-10 15:19:32 +03:00
committed by John Preston
parent 9c562931a2
commit 4fececb94f
2 changed files with 2 additions and 2 deletions

View File

@@ -767,7 +767,7 @@ not_null<Ui::InputField*> CreatePollBox::setupQuestion(
st::createPollFieldPadding);
InitField(getDelegate()->outerContainer(), question, _session);
question->setMaxLength(kQuestionLimit + kErrorLimit);
question->setSubmitSettings(_session->settings().sendSubmitWay());
question->setSubmitSettings(Ui::InputField::SubmitSettings::Both);
const auto warning = CreateWarningLabel(
container,