Skip to content

Commit

Permalink
refactor: Remove unused Sentry log
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Mar 10, 2025
1 parent e49646a commit 73f47b3
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,7 @@ class RefreshController @Inject constructor(
val upToDateFolder = getUpToDateFolder(folder.id)
val isConversationMode = localSettings.threadMode == ThreadMode.CONVERSATION

return@write handleAddedMessages(scope, upToDateFolder, messages, isConversationMode).also {

// TODO: This count will be false for INBOX & SNOOZED when the snooze feature will be implemented
val messagesCount = MessageController.getMessagesCountByFolderId(upToDateFolder.id, realm = this)
SentryLog.d("Realm", "Saved Messages: ${upToDateFolder.displayForSentry()} | ($messagesCount)")
}
return@write handleAddedMessages(scope, upToDateFolder, messages, isConversationMode)
}
} ?: emptySet()
}
Expand Down

0 comments on commit 73f47b3

Please sign in to comment.