Private
Public Access
1
0

plumb attachment guids for sendmessage

This commit is contained in:
2025-06-12 20:36:40 -07:00
parent 930f905efc
commit ff03e73758
6 changed files with 22 additions and 8 deletions

View File

@@ -226,8 +226,9 @@ impl DbusRepository for ServerImpl {
&mut self,
conversation_id: String,
text: String,
attachment_guids: Vec<String>,
) -> Result<String, dbus::MethodErr> {
self.send_event_sync(|r| Event::SendMessage(conversation_id, text, r))
self.send_event_sync(|r| Event::SendMessage(conversation_id, text, attachment_guids, r))
.map(|uuid| uuid.to_string())
}