fix needless pass by value
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
875d9e8b07
commit
57acc4f655
15 changed files with 40 additions and 42 deletions
|
@ -85,7 +85,7 @@ pub(crate) async fn set_read_marker_route(
|
|||
services().rooms.read_receipt.readreceipt_update(
|
||||
sender_user,
|
||||
&body.room_id,
|
||||
ruma::events::receipt::ReceiptEvent {
|
||||
&ruma::events::receipt::ReceiptEvent {
|
||||
content: ruma::events::receipt::ReceiptEventContent(receipt_content),
|
||||
room_id: body.room_id.clone(),
|
||||
},
|
||||
|
@ -145,7 +145,7 @@ pub(crate) async fn create_receipt_route(
|
|||
services().rooms.read_receipt.readreceipt_update(
|
||||
sender_user,
|
||||
&body.room_id,
|
||||
ruma::events::receipt::ReceiptEvent {
|
||||
&ruma::events::receipt::ReceiptEvent {
|
||||
content: ruma::events::receipt::ReceiptEventContent(receipt_content),
|
||||
room_id: body.room_id.clone(),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue