summaryrefslogtreecommitdiff
path: root/Presence/Presence.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/Presence.hs')
-rw-r--r--Presence/Presence.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Presence/Presence.hs b/Presence/Presence.hs
index 224d3282..7a784fa1 100644
--- a/Presence/Presence.hs
+++ b/Presence/Presence.hs
@@ -170,6 +170,11 @@ presenceHooks state verbosity mclient mpeer = XMPPServerParameters
170 , xmppPeerInformSubscription = peerInformSubscription state 170 , xmppPeerInformSubscription = peerInformSubscription state
171 , xmppVerbosity = return verbosity 171 , xmppVerbosity = return verbosity
172 , xmppGroupChat = Map.singleton "chat" MUC 172 , xmppGroupChat = Map.singleton "chat" MUC
173 { mucRoomList = return [("testroom",Just "testroom")]
174 , mucRoomOccupants = \case
175 "testroom" -> return [("fakeperson",Nothing)]
176 _ -> return []
177 }
173 , xmppClientBind = mclient 178 , xmppClientBind = mclient
174 , xmppPeerBind = mpeer 179 , xmppPeerBind = mpeer
175 } 180 }