xmpp: Add Agent::send_raw_message
This commit is contained in:
parent
e19a7988ed
commit
b4d3252da4
3 changed files with 62 additions and 3 deletions
|
|
@ -49,6 +49,10 @@ impl Agent {
|
|||
muc::room::leave_room(self, settings).await
|
||||
}
|
||||
|
||||
pub async fn send_raw_message<'a>(&mut self, settings: message::send::RawMessageSettings<'a>) {
|
||||
message::send::send_raw_message(self, settings).await
|
||||
}
|
||||
|
||||
pub async fn send_message<'a>(&mut self, settings: message::send::MessageSettings<'a>) {
|
||||
message::send::send_message(self, settings).await
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue