mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
Refactor code.
This commit is contained in:
@@ -64,7 +64,7 @@ namespace MQTTnet.TestApp.NetCore
|
||||
|
||||
if (context.ApplicationMessage.Topic == "not_allowed_topic")
|
||||
{
|
||||
context.AcceptPublish = false;
|
||||
context.ProcessPublish = false;
|
||||
context.CloseConnection = true;
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user