From d5c72286d65ccf7de51da1d3b6f044dce2ba300f Mon Sep 17 00:00:00 2001 From: Naian <126972030+nain-F49FF806@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:36:18 +0200 Subject: [PATCH] feat(pickup): mediator role may advertise support for pickup Signed-off-by: Naian <126972030+nain-F49FF806@users.noreply.github.com> --- messages/src/msg_types/protocols/pickup.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/messages/src/msg_types/protocols/pickup.rs b/messages/src/msg_types/protocols/pickup.rs index c241b7dab3..90eb93fe89 100644 --- a/messages/src/msg_types/protocols/pickup.rs +++ b/messages/src/msg_types/protocols/pickup.rs @@ -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")] @@ -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), }