events-macros: Fix another missing type qualification

This commit is contained in:
Jonas Platte 2021-05-15 12:27:25 +02:00
parent 7403bdf1c8
commit 824a6db048
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -957,7 +957,7 @@ fn field_return_type(
"room_id" => quote! { #ruma_identifiers::RoomId }, "room_id" => quote! { #ruma_identifiers::RoomId },
"event_id" => quote! { #ruma_identifiers::EventId }, "event_id" => quote! { #ruma_identifiers::EventId },
"sender" => quote! { #ruma_identifiers::UserId }, "sender" => quote! { #ruma_identifiers::UserId },
"state_key" => quote! { str }, "state_key" => quote! { ::std::primitive::str },
"unsigned" if &EventKindVariation::RedactedSync == var => { "unsigned" if &EventKindVariation::RedactedSync == var => {
quote! { #ruma_events::RedactedSyncUnsigned } quote! { #ruma_events::RedactedSyncUnsigned }
} }