Disable newlines in stream comments.

This commit is contained in:
John Preston
2025-11-15 11:30:34 +04:00
parent 5f729433f6
commit a71c59beae
2 changed files with 4 additions and 1 deletions
@@ -1073,6 +1073,9 @@ void ComposeControls::setHistory(SetHistoryArgs &&args) {
session().local().readDraftsWithCursors(_history);
applyDraft();
orderControls();
_field->setMode(args.videoStream
? Ui::InputField::Mode::NoNewlines
: Ui::InputField::Mode::MultiLine);
}
void ComposeControls::initLikeButton() {