Revert "make messagedelivery return"
All checks were successful
Build and Test / sonic-transformed (push) Successful in 3m2s
Build and Test / friends (push) Successful in 3m13s
Build and Test / minecraft-wiiu (push) Successful in 3m42s
Build and Test / puyopuyo (push) Successful in 3m42s
Build and Test / mario-tennis (push) Successful in 3m42s
Build and Test / splatoon-testfire (push) Successful in 3m42s
Build and Test / fast-racing-neo (push) Successful in 3m54s
Build and Test / wii-sports-club (push) Successful in 3m54s
Build and Test / wii-u-chat (push) Successful in 3m54s
Build and Test / splatoon (push) Successful in 3m54s
Build and Test / super-mario-maker (push) Successful in 4m14s

This reverts commit 587dda7333.
This commit is contained in:
Jerry Starke 2026-06-20 01:21:59 +02:00
commit defa593138
2 changed files with 5 additions and 7 deletions

View file

@ -948,8 +948,6 @@ 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>);
}