TsgcWSPClient_E2EE › Events › OnE2EEGroupDeleted
Fired when an encrypted group is deleted.
property OnE2EEGroupDeleted: TsgcWSE2EEOnGroupDeleted;
// TsgcWSE2EEOnGroupDeleted = procedure(Sender: TObject; const aGroup: string) of object
—
Notifies that the group identified by aGroup has been removed from the server. All members receive this event and must treat any pending group operations as cancelled. Update the UI to remove the group entry.
procedure TForm1.oE2EEE2EEGroupDeleted(Sender: TObject; const aGroup: string);
var
vIdx: Integer;
begin
vIdx := lbxGroups.Items.IndexOf(aGroup);
if vIdx >= 0 then
lbxGroups.Items.Delete(vIdx);
end;