2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Added spoiler support to input field.

This commit is contained in:
23rd
2021-12-19 17:07:57 +03:00
committed by John Preston
parent 52699ccfc2
commit 90dedb7b70
5 changed files with 11 additions and 2 deletions

View File

@@ -547,7 +547,8 @@ void MessageLinksParser::parse() {
return (tag == Ui::InputField::kTagBold)
|| (tag == Ui::InputField::kTagItalic)
|| (tag == Ui::InputField::kTagUnderline)
|| (tag == Ui::InputField::kTagStrikeOut);
|| (tag == Ui::InputField::kTagStrikeOut)
|| (tag == Ui::InputField::kTagSpoiler);
};
auto ranges = QVector<LinkRange>();