Fix #197: Account stays in connecting stage
commitc0a0fa297ac911533c699bc052b620f2fd857821
authorHarris Kauffman <harris.kauffman@gmail.com>
Tue, 3 Dec 2013 23:42:29 +0000 (3 18:42 -0500)
committerHarris Kauffman <harris.kauffman@gmail.com>
Tue, 3 Dec 2013 23:42:29 +0000 (3 18:42 -0500)
tree848fa8800659cf3c9a33a03bf891aea850a8f170
parentec345a388fd173667be7b4723316fb0f333e38a5
Fix #197: Account stays in connecting stage

Move the purple_init_sipe_plugin call to installPlugin in order to ensure the plugin is initialized before adium calls configurePurpleAccount.

Also override purpleAccountName instead of manually setting username to prevent duplicate entries in accounts.xml for users who enter a login (one from account creation, one from account connection).  Need to figure out if there's a way to cleanup that second entry in accounts.xml in the future...
src/adium/ESPurpleSIPEAccount.m
src/adium/ESSIPELibpurpleServicePlugin.m