aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/server_notices.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/routing/server_notices.go')
-rw-r--r--clientapi/routing/server_notices.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/server_notices.go b/clientapi/routing/server_notices.go
index c556ed26..a9967adf 100644
--- a/clientapi/routing/server_notices.go
+++ b/clientapi/routing/server_notices.go
@@ -228,7 +228,7 @@ func SendServerNotice(
ctx, rsAPI,
api.KindNew,
[]*types.HeaderedEvent{
- &types.HeaderedEvent{Event: e},
+ &types.HeaderedEvent{PDU: e},
},
device.UserDomain(),
cfgClient.Matrix.ServerName,