aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
authordevonh <devon.dmytro@gmail.com>2023-08-31 15:33:38 +0000
committerGitHub <noreply@github.com>2023-08-31 15:33:38 +0000
commitbb2ab62cbf02abb6f600e6eb39fde67aa2ff3215 (patch)
tree0c2f7caa34a589cdd8338bee92fd7376f7c71313 /clientapi
parent11fd2f019bb6325155c2fa825b82c1fbef07b300 (diff)
Handle event_format federation in /sync responses (#3192)
Diffstat (limited to 'clientapi')
-rw-r--r--clientapi/routing/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/state.go b/clientapi/routing/state.go
index 7648dc47..d7f0b40f 100644
--- a/clientapi/routing/state.go
+++ b/clientapi/routing/state.go
@@ -193,7 +193,7 @@ func OnIncomingStateRequest(ctx context.Context, device *userapi.Device, rsAPI a
}
stateEvents = append(
stateEvents,
- synctypes.ToClientEvent(ev, synctypes.FormatAll, sender, sk),
+ synctypes.ToClientEvent(ev, synctypes.FormatAll, sender.String(), sk, ev.Unsigned()),
)
}
}