Skip to content

Commit

Permalink
fix(chatform): Remove assertion that history is on when the friend de…
Browse files Browse the repository at this point in the history
…tails is being called.
  • Loading branch information
nickolay168 committed Jan 30, 2025
1 parent db4a290 commit 1a04870
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/persistence/history.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1a04870

Please sign in to comment.