Browse Source

* Remove sender when sending command (used when forwarding)

Michael Van Canneyt 2 months ago
parent
commit
4e80bc5244
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/rtl/src/Rtl.WorkerCommands.pas

+ 1 - 0
packages/rtl/src/Rtl.WorkerCommands.pas

@@ -306,6 +306,7 @@ procedure TCommandDispatcher.CheckSenderID(aCommand: TCustomWorkerCommand);
 begin
   if (aCommand.FSenderID='') then
     aCommand.FSenderID:=DefaultSenderID;
+  aCommand[cFldSender]:=undefined;
 end;
 
 procedure TCommandDispatcher.SendCommand(aWorker: TJSWorker; aCommand: TCustomWorkerCommand);