Hi,
I was wondering if anyone could point me in the direction of the uptime code in the adium source? I want to write a plugin for so that I can do something similar for MSN.
The original Trac ticket is http://trac.adiumx.com/ticket/2787
Thanks for any help given
James
Online time plugin
- evands
- Cocoaforge Admin
- Posts: 3152
- Joined: Thu Dec 02, 2004 10:55 pm
- Location: Decatur, GA
- Contact:
All you have to do to specify when a contact signed online is do
[contact setSignonDate:date notify:NotifyNow];
where date is an NSDate (such as [NSDate date] to specify the current date/time).
I'd look at this fact in combination with the listObjectObserver capacities registered via the contactController and used all over the place in Adium.
[contact setSignonDate:date notify:NotifyNow];
where date is an NSDate (such as [NSDate date] to specify the current date/time).
I'd look at this fact in combination with the listObjectObserver capacities registered via the contactController and used all over the place in Adium.