diff --git a/src/Scylla/Sync/Events.elm b/src/Scylla/Sync/Events.elm index a17dff8..a5feb19 100644 --- a/src/Scylla/Sync/Events.elm +++ b/src/Scylla/Sync/Events.elm @@ -38,8 +38,8 @@ type RoomEvent roomEventDecoder : Decoder RoomEvent roomEventDecoder = oneOf - [ Decode.map MessageRoomEvent messageEventDecoder - , Decode.map StateRoomEvent stateEventDecoder + [ Decode.map StateRoomEvent stateEventDecoder + , Decode.map MessageRoomEvent messageEventDecoder ] type alias MessageEvent =