summaryrefslogtreecommitdiff
path: root/Presence/MUC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/MUC.hs')
-rw-r--r--Presence/MUC.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Presence/MUC.hs b/Presence/MUC.hs
index 76c53391..639e834b 100644
--- a/Presence/MUC.hs
+++ b/Presence/MUC.hs
@@ -42,8 +42,8 @@ mucReservedNick muc rkey = atomically $ do
42 Nothing -> return Nothing 42 Nothing -> return Nothing
43 Just r -> return $ Just $ \jid -> atomically $ roomReservedNick r jid 43 Just r -> return $ Just $ \jid -> atomically $ roomReservedNick r jid
44 44
45mucJoinRoom :: MUC -> Text{-JID-} -> Text{-nick-} -> Text{-room-} -> ClientAddress -> IO (JoinedRoom ClientAddress) 45mucJoinRoom :: MUC -> Text{-JID-} -> Text{-nick-} -> Text{-room-} -> ClientAddress -> STM (JoinedRoom ClientAddress)
46mucJoinRoom muc jid nick rkey k = atomically $ do 46mucJoinRoom muc jid nick rkey k = do
47 mr <- Map.lookup rkey <$> readTVar (mucRooms muc) 47 mr <- Map.lookup rkey <$> readTVar (mucRooms muc)
48 case mr of 48 case mr of
49 Nothing -> do 49 Nothing -> do