diff --git a/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB4TopicRegistryDecorator.cs b/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB4TopicRegistryDecorator.cs index 5526e630..43d00552 100644 --- a/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB4TopicRegistryDecorator.cs +++ b/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB4TopicRegistryDecorator.cs @@ -23,7 +23,7 @@ public string GetTopicForMessageType(Type messageType, bool includePrefix = true static string Prepend(string prefix, string str) => str.StartsWith(prefix) ? str : $"{prefix}{str}"; - if (typeof(IRequest).IsAssignableFrom(messageType)) + if (typeof(IRequest).IsAssignableFrom(messageType)) { topic = Prepend("ch.commands.", topic); }