diff options
-rw-r--r-- | Presence/XMPPServer.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Presence/XMPPServer.hs b/Presence/XMPPServer.hs index bfaaa751..6f834c25 100644 --- a/Presence/XMPPServer.hs +++ b/Presence/XMPPServer.hs | |||
@@ -839,7 +839,6 @@ xmppInbound sv xmpp k laddr pingflag stanzas output donevar = doNestingXML $ do | |||
839 | , xmppTellPeerHisName xmpp k | 839 | , xmppTellPeerHisName xmpp k |
840 | ) | 840 | ) |
841 | me <- liftIO tellmyname | 841 | me <- liftIO tellmyname |
842 | you <- liftIO tellyourname | ||
843 | withXML $ \begindoc -> do | 842 | withXML $ \begindoc -> do |
844 | when (begindoc==EventBeginDocument) $ do | 843 | when (begindoc==EventBeginDocument) $ do |
845 | whenJust nextElement $ \xml -> do | 844 | whenJust nextElement $ \xml -> do |
@@ -872,6 +871,7 @@ xmppInbound sv xmpp k laddr pingflag stanzas output donevar = doNestingXML $ do | |||
872 | , stanzaOrigin = NetworkOrigin k output | 871 | , stanzaOrigin = NetworkOrigin k output |
873 | } | 872 | } |
874 | ioWriteChan stanzas s | 873 | ioWriteChan stanzas s |
874 | you <- liftIO tellyourname | ||
875 | flip (maybe $ unrecog) dispatch $ \dispatch -> | 875 | flip (maybe $ unrecog) dispatch $ \dispatch -> |
876 | case dispatch of | 876 | case dispatch of |
877 | -- Checking that the to-address matches this server. | 877 | -- Checking that the to-address matches this server. |