Skip to content

Commit

Permalink
feat(tgdump): enrich session information.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashigeru committed Apr 15, 2024
1 parent 0344639 commit c2449b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ protected Session attempt(@Nonnull ConnectionSettings settings, @Nonnull Credent
LOG.trace("enter: attempt: {} ({})", credential, settings); //$NON-NLS-1$
var builder = SessionBuilder.connect(settings.getEndpointUri());
builder.withCredential(credential);
// TODO: more settings
settings.getApplicationName().ifPresent(builder::withApplicationName);
settings.getSessionLabel().ifPresent(builder::withLabel);
var timeout = settings.getEstablishTimeout();
Session result;
if (timeout.isEmpty()) {
Expand Down

0 comments on commit c2449b8

Please sign in to comment.