mirror of https://github.com/procxx/kepka.git
Remove newline in support mode message edit.
This commit is contained in:
parent
f8d900d7fb
commit
96acecc35b
|
@ -197,9 +197,6 @@ TextWithEntities StripSupportHashtag(TextWithEntities &&text) {
|
||||||
}
|
}
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
if (!text.text.isEmpty() && !text.text.endsWith('\n')) {
|
|
||||||
text.text.append('\n');
|
|
||||||
}
|
|
||||||
return std::move(text);
|
return std::move(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue