diff --git a/windows/guildsettings/auditlogpane.cpp b/windows/guildsettings/auditlogpane.cpp index 4637838..e5b45fe 100644 --- a/windows/guildsettings/auditlogpane.cpp +++ b/windows/guildsettings/auditlogpane.cpp @@ -266,7 +266,7 @@ void GuildSettingsAuditLogPane::OnAuditLogFetch(const AuditLogData &data) { const auto role = discord.GetRole(entry.TargetID); markup = "" + user.GetEscapedString() + " " + "updated the role " + - (role.has_value() ? Glib::Markup::escape_text(role->Name) : entry.TargetID) + + (role.has_value() ? Glib::Markup::escape_text(role->Name) : Glib::ustring(entry.TargetID)) + ""; if (entry.Changes.has_value()) for (const auto &change : *entry.Changes) {