make messagedelivery return
All checks were successful
Build and Test / fast-racing-neo (push) Successful in 3m17s
Build and Test / wii-u-chat (push) Successful in 3m40s
Build and Test / wii-sports-club (push) Successful in 3m51s
Build and Test / minecraft-wiiu (push) Successful in 3m51s
Build and Test / splatoon-testfire (push) Successful in 4m12s
Build and Test / super-mario-maker (push) Successful in 4m47s
Build and Test / friends (push) Successful in 3m51s
Build and Test / splatoon (push) Successful in 3m52s
Build and Test / mario-tennis (push) Successful in 3m52s
Build and Test / puyopuyo (push) Successful in 3m58s
Build and Test / sonic-transformed (push) Successful in 4m11s

This commit is contained in:
red binder 2026-06-20 00:27:15 +02:00
commit 587dda7333
2 changed files with 7 additions and 5 deletions

View file

@ -948,6 +948,8 @@ impl MessageDelivery for User {
message.emplace_parent(&msg)?;
user.remote.deliver_message(message).await;
return Ok(());
}
2 => {
return Err(ErrorCode::Core_NotImplemented);

View file

@ -11,8 +11,8 @@ pub trait MessageDelivery {
#[method_id(1)]
async fn deliver_message(&self, message: Any<UserMessage>) -> Result<(), ErrorCode>;
}
#[rmc_proto(27, NoReturn)]
pub trait MessageDeliveryNoResponse {
#[method_id(1)]
async fn deliver_message(&self, message: Any<UserMessage>);
}
// #[rmc_proto(27, NoReturn)]
// pub trait MessageDeliveryNoResponse {
// #[method_id(1)]
// async fn deliver_message(&self, message: Any<UserMessage>);
// }