From 71646445d55dd4fe687a8eb4b889946ddf1af781 Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Fri, 21 Jun 2019 17:13:38 -0700 Subject: [PATCH] Sort fields of ServerAclEvent alphabetically. --- src/room/server_acl.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/room/server_acl.rs b/src/room/server_acl.rs index 3c2a455a..076dfa77 100644 --- a/src/room/server_acl.rs +++ b/src/room/server_acl.rs @@ -28,14 +28,14 @@ pub struct ServerAclEvent { /// The unique identifier for the room associated with this event. pub room_id: Option, - /// Additional key-value pairs not signed by the homeserver. - pub unsigned: Option, - /// The unique identifier for the user who sent this event. pub sender: UserId, /// A key that determines which piece of room state the event represents. pub state_key: String, + + /// Additional key-value pairs not signed by the homeserver. + pub unsigned: Option, } /// The payload for `ServerAclEvent`.