Adds the ability to sync just one conversation
This commit is contained in:
@@ -65,6 +65,15 @@ async fn main() {
|
||||
0
|
||||
});
|
||||
}
|
||||
|
||||
Signal::MessagesUpdated(conversation_id) => {
|
||||
log::info!("Sending signal: MessagesUpdated for conversation {}", conversation_id);
|
||||
endpoint.send_signal(interface::OBJECT_PATH, DbusSignals::MessagesUpdated{ conversation_id })
|
||||
.unwrap_or_else(|_| {
|
||||
log::error!("Failed to send signal");
|
||||
0
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user