Remove newline in support mode message edit.

This commit is contained in:
John Preston 2019-06-08 12:39:45 +03:00
parent f8d900d7fb
commit 96acecc35b

View File

@ -197,9 +197,6 @@ TextWithEntities StripSupportHashtag(TextWithEntities &&text) {
}
++i;
}
if (!text.text.isEmpty() && !text.text.endsWith('\n')) {
text.text.append('\n');
}
return std::move(text);
}