From 5f0f9135fee3d127c7d6a555c198ecc2236df413 Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 20 Feb 2026 17:09:04 +0000 Subject: [PATCH] Stop pester in console when changing rooms regarding missing authors. --- src/messagecontent/AuthorComponent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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