Skip to content

Commit

Permalink
feat(pickup): mediator role may advertise support for pickup
Browse files Browse the repository at this point in the history
Signed-off-by: Naian <[email protected]>
  • Loading branch information
nain-F49FF806 committed Oct 18, 2023
1 parent a9c5b2f commit d5c7228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions messages/src/msg_types/protocols/pickup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strum_macros::{AsRefStr, EnumString};
use transitive::Transitive;

use super::Protocol;
use crate::msg_types::MsgKindType;
use crate::msg_types::{MsgKindType, Role};

#[derive(Copy, Clone, Debug, From, TryInto, PartialEq, MessageType)]
#[msg_type(protocol = "messagepickup")]
Expand All @@ -16,7 +16,7 @@ pub enum PickupType {
#[transitive(into(PickupType, Protocol))]
#[msg_type(major = 2)]
pub enum PickupTypeV2 {
#[msg_type(minor = 0, roles = "")]
#[msg_type(minor = 0, roles = "Role::Mediator")]
V2_0(MsgKindType<PickupTypeV2_0>),
}

Expand Down

0 comments on commit d5c7228

Please sign in to comment.