[Adium-devl] Problems With Storing Info. for Contact
armahg at gmail.com
Wed Jun 4 16:40:19 UTC 2008
One of the users of my Send Email/SMS plugin reported some problems with
the phone number of a contact via the plugin. I investigated and here is
what I found:
My plugin saves three pieces of information:
#define KEY_GEMAIL @"User Email Address"
#define KEY_SMSPHONENUM @"User SMS"
#define KEY_SERVICEPROVIDER @"User Service Provider"
Saving a contact's email address works fine.
When I save a contact's phone number and service provider, they both
persist so long as adium is running.
After shutting down and restarting adium, the service provider is found
but there is
nothing saved for the phone number value.
Note that this behavior is not consistent. Out of about 20 tries for
about 5 different contacts, one of the
contacts had his phone number information saved permanently (after a
couple of tries).
The plugin source code is available for download from:
I also pasted the three .m classes of the plugin using lisppaste
EmailSMSPreferencesWindowController is the class that does the the saving
of the phone number information. This happens in the method
I am really confused as to what could be causing this problem and would
help or pointers as to how to troubleshoot. Could it be that some other
plugin or section
of Adium code is using the same preference key? Where are the user
for Adium located? Knowing that could help in my troubleshooting.
Thanks in advance for any help,
More information about the Adium-devl