UpdateMonitor: dont leak convo in log
This commit is contained in:
@@ -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 =
|
||||||
|
|||||||
Reference in New Issue
Block a user