Fix #262: Adium: SIPE doesn't auto- or re-connect
commit4f7b82fb3aaf1b608faaa86613ee330e353e29c6
authorStefan Becker <chemobejk@gmail.com>
Thu, 28 Aug 2014 09:41:57 +0000 (28 12:41 +0300)
committerStefan Becker <chemobejk@gmail.com>
Thu, 28 Aug 2014 09:41:57 +0000 (28 12:41 +0300)
treedd543628ea98312cbeb6e48575fc81ab2a2e9a45
parent71e1c0021b25291031a5db2fb89a656f483728fd
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.
src/adium/ESPurpleSIPEAccount.m