a few last changes post xmpp removal

This commit is contained in:
Joey Hess 2016-12-28 12:29:21 -04:00
parent b21ffe62f5
commit cf6545198b
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
2 changed files with 3 additions and 1 deletions

View file

@ -353,7 +353,7 @@ checkAvailable :: Bool -> Remote -> IO Bool
checkAvailable assumenetworkavailable =
maybe (return assumenetworkavailable) doesDirectoryExist . localpath
{- Remotes using the XMPP transport have urls like xmpp::user@host -}
{- Old remotes using the XMPP transport have urls like xmpp::user@host -}
isXMPPRemote :: Remote -> Bool
isXMPPRemote remote = Git.repoIsUrl r && "xmpp::" `isPrefixOf` Git.repoLocation r
where

View file

@ -1,2 +1,4 @@
While trying so establish a jabber link via a server that runs a nonstandard port I came across the problem that git-annex always appends :5222 to the jabber server address. This effectively stops the connection procedure at a point where it does not need to.
> XMPP support has been removed from git-annex, so closing. [[done]]