Skip to content

Commit 3b641c5

Browse files
schoettlTristanCacqueray
authored andcommitted
Fix typo in error code of createRoom
1 parent 4437cbb commit 3b641c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matrix-client/src/Network/Matrix/Client.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ createRoom session rcr = do
529529
Right crr -> case (crrID crr, crrMessage crr) of
530530
(Just roomID, _) -> pure $ RoomID roomID
531531
(_, Just message) -> Left $ MatrixError "UNKNOWN" message Nothing
532-
_ -> Left $ MatrixError "UNKOWN" "" Nothing
532+
_ -> Left $ MatrixError "UNKNOWN" "" Nothing
533533

534534
newtype RoomAlias = RoomAlias T.Text deriving (Show, Eq, Ord, Hashable)
535535

0 commit comments

Comments
 (0)