diff --git a/src/messagecontent/AuthorComponent.qml b/src/messagecontent/AuthorComponent.qml index fdf4c0704..4a09786b5 100644 --- a/src/messagecontent/AuthorComponent.qml +++ b/src/messagecontent/AuthorComponent.qml @@ -41,8 +41,8 @@ RowLayout { QQC2.Label { id: nameButton - text: root.author.disambiguatedName - color: root.author.color + text: root.author?.disambiguatedName ?? "" + color: root.author?.color ?? "" textFormat: Text.PlainText font.weight: Font.Bold elide: Text.ElideRight