diff options
author | joe <joe@jerkface.net> | 2014-03-09 00:21:59 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-03-09 00:21:59 -0500 |
commit | 56af0dbac65ee93e71dd975ae02c33cf04610408 (patch) | |
tree | f0a3999994a75080882c6214b5d481f3aaca9e2e | |
parent | 8ef981e5fdb9ee6a810d93ce02c60a12ec5d82a5 (diff) |
bad from addres in clientSubscriptionRequest
-rw-r--r-- | xmppServer.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmppServer.hs b/xmppServer.hs index 4dc52793..7c09d345 100644 --- a/xmppServer.hs +++ b/xmppServer.hs | |||
@@ -669,7 +669,10 @@ clientSubscriptionRequest state fail k stanza chan = do | |||
669 | cdsts = ktc Map.\\ dsts | 669 | cdsts = ktc Map.\\ dsts |
670 | forM_ (Map.toList cdsts) $ \(pk,con) -> do | 670 | forM_ (Map.toList cdsts) $ \(pk,con) -> do |
671 | -- if already connected, send solicitation ... | 671 | -- if already connected, send solicitation ... |
672 | let from = clientJID con client | 672 | -- let from = clientJID con client |
673 | let from = unsplitJID ( Just $ clientUser client | ||
674 | , addrToText $ auxAddr con | ||
675 | , Nothing ) | ||
673 | mb <- rewriteJIDForPeer to | 676 | mb <- rewriteJIDForPeer to |
674 | flip (maybe $ return ()) mb $ \(to',addr) -> do | 677 | flip (maybe $ return ()) mb $ \(to',addr) -> do |
675 | dup <- cloneStanza stanza | 678 | dup <- cloneStanza stanza |