Private
Public Access
1
0

UpdateMonitor: dont leak convo in log

This commit is contained in:
2025-08-29 15:12:23 -06:00
parent c1507e9ee1
commit eb4426e473

View File

@@ -63,7 +63,7 @@ impl UpdateMonitor {
async fn handle_update(&mut self, update: UpdateEvent) { async fn handle_update(&mut self, update: UpdateEvent) {
match update.data { match update.data {
UpdateEventData::ConversationChanged(conversation) => { UpdateEventData::ConversationChanged(conversation) => {
log::info!(target: target::UPDATES, "Conversation changed: {:?}", conversation); log::info!(target: target::UPDATES, "Conversation changed: {}", conversation.guid);
// Explicitly update the unread count, we assume this is fresh from the notification. // Explicitly update the unread count, we assume this is fresh from the notification.
let db_conversation: kordophone_db::models::Conversation = let db_conversation: kordophone_db::models::Conversation =