summaryrefslogtreecommitdiff
path: root/Presence/Stanza/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/Stanza/Types.hs')
-rw-r--r--Presence/Stanza/Types.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Presence/Stanza/Types.hs b/Presence/Stanza/Types.hs
index cbb156a0..3e039a34 100644
--- a/Presence/Stanza/Types.hs
+++ b/Presence/Stanza/Types.hs
@@ -50,7 +50,20 @@ data StanzaType
50 , presencePriority :: Maybe Int8 50 , presencePriority :: Maybe Int8
51 , presenceStatus :: [(Lang,Text)] 51 , presenceStatus :: [(Lang,Text)]
52 , presenceWhiteList :: [Text] 52 , presenceWhiteList :: [Text]
53 -- ^ A custom extension extension we are using. When a
54 -- peer answers a presence probe, it also communicates
55 -- to the remote peer which remote users it believes
56 -- are subscribed to that presence.
57 --
58 -- This is communicated via a space-delimited list in
59 -- the nonstandard "whitelist" attribute for a
60 -- <{jabber:server}presence> tag.
61 --
62 -- TODO: Use this to update the buddies file so that a
63 -- client is made aware when a subscription was
64 -- canceled.
53 } 65 }
66
54 | PresenceInformError 67 | PresenceInformError
55 | PresenceInformSubscription Bool 68 | PresenceInformSubscription Bool
56 | PresenceRequestStatus 69 | PresenceRequestStatus