Skip to content

Commit

Permalink
#1780 fix update headers of ConnectionClosed
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandar Stanchev <aleksandar.stanchev@bosch.com>
  • Loading branch information
alstanchev committed Oct 25, 2023
1 parent e85db0c commit f5ec983
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ public ConnectionClosed setRevision(final long revision) {

@Override
public ConnectionClosed setDittoHeaders(final DittoHeaders dittoHeaders) {
return this;
return of(getEntityId(), getRevision(), getTimestamp().orElse(null), dittoHeaders,
getMetadata().orElse(null));
}

@Override
Expand Down

0 comments on commit f5ec983

Please sign in to comment.