Browse Source

replace xpPrim with xpJid in ServiceDiscovery

master
Philipp Balzarek 12 years ago
parent
commit
d153c217b0
  1. 4
      source/Network/Xmpp/Xep/ServiceDiscovery.hs

4
source/Network/Xmpp/Xep/ServiceDiscovery.hs

@ -80,7 +80,7 @@ xpQueryInfo = xpWrap (\(nd, (feats, ids)) -> QIR nd ids feats)
xpIdentities xpIdentities
) )
-- | Query an entity for it's identity and features -- | Query an entity for its identity and features
queryInfo :: Jid -- ^ Entity to query queryInfo :: Jid -- ^ Entity to query
-> Maybe Text.Text -- ^ Node -> Maybe Text.Text -- ^ Node
-> Session -> Session
@ -138,7 +138,7 @@ xpItem = xpWrap (\(jid, name, node) -> Item jid name node)
(\(Item jid name node) -> (jid, name, node)) $ (\(Item jid name node) -> (jid, name, node)) $
xpElemAttrs (itemsN "item") xpElemAttrs (itemsN "item")
(xp3Tuple (xp3Tuple
(xpAttr "jid" xpPrim) (xpAttr "jid" xpJid)
(xpAttrImplied "name" xpText) (xpAttrImplied "name" xpText)
(xpAttrImplied "node" xpText)) (xpAttrImplied "node" xpText))

Loading…
Cancel
Save