TsgcWSPClient_E2EEEvents › OnE2EEUserCreated

OnE2EEUserCreated Event

Fired when a user is registered in the E2EE user list.

Syntax

property OnE2EEUserCreated: TsgcWSE2EEClientOnUserCreated;
// TsgcWSE2EEClientOnUserCreated = procedure(Sender: TObject; const aUserId: string) of object

Default Value

Remarks

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.

Example

procedure TForm1.oE2EEE2EEUserCreated(Sender: TObject; const aUserId: string);
begin
  cbxContacts.Items.Add(aUserId);
end;

Back to Events