adium: cleanup configurePurpleAccount
commit2f20581b4804c33397f047dd6120a829df79601b
authorHarris Kauffman <harris.kauffman@gmail.com>
Wed, 4 Dec 2013 01:03:45 +0000 (3 20:03 -0500)
committerHarris Kauffman <harris.kauffman@gmail.com>
Wed, 4 Dec 2013 01:03:45 +0000 (3 20:03 -0500)
tree68436e96995951c1d73cdbd9b600ae75ceb6580b
parentc0a0fa297ac911533c699bc052b620f2fd857821
adium: cleanup configurePurpleAccount

We control KEY_CONNECT_HOST and the accounts.xml "server" fields directly.  Easiest way to control autodiscover is simply to set everything the way want it and skip call ing the superclass configurePurpleAccount.  It doesnt set anything we need anyway.

Likewise, no need to hook into reachability monitor if we simply set our "dummy" KEY_CONNECT_HOST to something that should always be reachable:  localhost

Implement another hash and condense the function into a for-loop and an if-else loop
src/adium/ESPurpleSIPEAccount.m
src/adium/ESSIPEAccountViewController.m
src/adium/PurpleDefaultsSIPE.plist