Skip to content

Commit 9966e8b

Browse files
committed
fix: Call method on instance, not class
Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
1 parent bac01de commit 9966e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acapy_agent/core/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ async def make_v2_message(self, profile: Profile, parsed_msg: dict) -> BaseMessa
245245
#message_cls = registry.resolve_message_class(message_type)
246246
#if isinstance(message_cls, DeferLoad):
247247
# message_cls = message_cls.resolved
248-
message_cls = V2ProtocolRegistry.protocols_matching_query(message_type)
248+
message_cls = registry.protocols_matching_query(message_type)
249249
except ProtocolMinorVersionNotSupported as e:
250250
raise MessageParseError(f"Problem parsing message type. {e}")
251251

0 commit comments

Comments
 (0)