Fix crash in IV parsing.

This commit is contained in:
John Preston 2024-03-15 20:23:48 +04:00
parent a1a415de82
commit f1d8135e30
1 changed files with 1 additions and 1 deletions

View File

@ -851,7 +851,7 @@ QByteArray Parser::block(const MTPDpageRelatedArticle &data) {
inner += tag(
"span",
{ { "class", "related-link-source" } },
EscapeText(utf(*author)
EscapeText((author ? utf(*author) : QByteArray())
+ separator
+ langDateTimeFull(parsed).toUtf8()));
}