Ver código fonte

* Remove sender when sending command (used when forwarding)

Michael Van Canneyt 2 meses atrás
pai
commit
4e80bc5244
1 arquivos alterados com 1 adições e 0 exclusões
  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);