Fix #262: Adium: SIPE doesn't auto- or re-connect
commit63976b608674188cf66a2da34d48f2744b016a6d
authorStefan Becker <chemobejk@gmail.com>
Thu, 28 Aug 2014 09:41:57 +0000 (28 12:41 +0300)
committerStefan Becker <chemobejk@gmail.com>
Sat, 18 Oct 2014 14:10:05 +0000 (18 17:10 +0300)
treed237e24ca4836a92525ade3ee161e3d5cfab58dc
parent8263c86671160d6994f319ee7c39d044e709e9da
Fix #262: Adium: SIPE doesn't auto- or re-connect

If server auto-discovery is in use then the plugin doesn't have a value
for KEY_CONNECT_HOST. We used to set it to the localized name returned
by NSHost. But that isn't necessarily a valid DNS hostname and therefore
Adium's reachability test fails for the SIPE account.

Now we hard-code the value to "localhost" instead. During my tests this
was the only value that always worked.

(cherry picked from commit 4f7b82fb3aaf1b608faaa86613ee330e353e29c6)
src/adium/ESPurpleSIPEAccount.m