TsgcWSPClient_E2EE › Events › OnE2EEUserCreated
Fired when a user is registered in the E2EE user list.
property OnE2EEUserCreated: TsgcWSE2EEClientOnUserCreated;
// TsgcWSE2EEClientOnUserCreated = procedure(Sender: TObject; const aUserId: string) of object
—
Notifies that the server has registered a new user identified by aUserId and that its public key material is available to this client. Typically used to refresh the UI contact list and enable direct messaging with the new peer.
procedure TForm1.oE2EEE2EEUserCreated(Sender: TObject; const aUserId: string);
begin
cbxContacts.Items.Add(aUserId);
end;