Skip to content

Commit

Permalink
Merge pull request #1781 from bosch-io/bugfix/retreive-connections-by…
Browse files Browse the repository at this point in the history
…-tag

#1780 fix update headers of ConnectionClosed event
  • Loading branch information
alstanchev authored Oct 25, 2023
2 parents e85db0c + f5ec983 commit b391ad3
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 b391ad3

Please sign in to comment.