diff --git a/src/Internal/Api/GetEvent/Api.elm b/src/Internal/Api/GetEvent/Api.elm index 5b7904f..2092d1e 100644 --- a/src/Internal/Api/GetEvent/Api.elm +++ b/src/Internal/Api/GetEvent/Api.elm @@ -29,6 +29,7 @@ getEventInputV1 data context = ] |> R.toTask SO1.clientEventDecoder + getEventInputV2 : GetEventInputV1 -> Context { a | accessToken : (), baseUrl : (), sentEvent : () } -> Task X.Error GetEventOutputV1 getEventInputV2 data context = context diff --git a/src/Matrix/Room.elm b/src/Matrix/Room.elm index 1c9bcac..1c6c451 100644 --- a/src/Matrix/Room.elm +++ b/src/Matrix/Room.elm @@ -230,6 +230,7 @@ Keep in mind that this function is not safe to use if you're sending exactly the -- NOT SAFE Cmd.batch [ sendOneEvent data , sendOneEvent data ] + -} sendOneEvent : { content : D.Value, eventType : String, room : Room, stateKey : Maybe String, onResponse : VaultUpdate -> msg } -> Cmd msg sendOneEvent =