From d1370221742b2accf2cd8bfc129ca72c2ca09595 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 18 Dec 2021 22:02:30 -0600 Subject: [PATCH] Remove another markdown thing --- src/lobby.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lobby.cpp b/src/lobby.cpp index feb922c..ad4ebb7 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -548,15 +548,10 @@ void Lobby::get_motd() { ao_app->net_manager->request_document(MSDocumentType::Motd, [this](QString document) { - if (document.isEmpty()) + if (document.isEmpty()) { document = tr("Couldn't get the message of the day."); - bool isHtml = document.startsWith("", Qt::CaseInsensitive); - if (isHtml) { - ui_chatbox->setHtml(document); - } else { - ui_chatbox->setMarkdown(document); } + ui_chatbox->setHtml(document); }); }