From 1a048702fa82cdbd62af803d036b38c1068152ce Mon Sep 17 00:00:00 2001 From: nickolay168 Date: Sun, 26 Jan 2025 19:00:20 -0800 Subject: [PATCH] fix(chatform): Remove assertion that history is on when the friend details is being called. --- src/persistence/history.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/persistence/history.cpp b/src/persistence/history.cpp index fae55796bd..e033a26ff2 100644 --- a/src/persistence/history.cpp +++ b/src/persistence/history.cpp @@ -912,8 +912,7 @@ void History::markAsDelivered(RowId messageId) bool History::historyAccessBlocked() { if (!settings.getEnableLogging()) { - assert(false); - qCritical() << "Blocked history access while history is disabled"; + qDebug() << "Blocked history access while history is disabled"; return true; }