xmpp: Use ResourcePart for sender of room events

This commit is contained in:
xmppftw xmppftw 2024-12-18 00:59:47 +01:00 committed by xmpp ftw
commit 5477cf1240
4 changed files with 10 additions and 8 deletions

View file

@ -38,7 +38,7 @@ pub async fn handle_message_chat(
Ok(full) => Event::RoomPrivateMessage(
message.id.clone(),
full.to_bare(),
full.resource().to_string(),
full.resource().into(),
body.clone(),
time_info.clone(),
),