Message and message_correct::Replace now has typed Id

This commit is contained in:
xmppftw xmppftw 2024-12-21 00:10:13 +01:00 committed by pep
commit 33098e6f2c
9 changed files with 45 additions and 32 deletions

View file

@ -59,7 +59,7 @@ pub async fn handle_message_group_chat(
let event = if let Some(correction) = correction {
Event::RoomMessageCorrection(
Some(correction.id),
correction.id,
from.to_bare(),
RoomNick::from_resource_ref(resource),
body.clone(),