Scripting Bridge Question

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
jmorrin
Harmless
Posts: 2
Joined: Mon Jan 14, 2008 2:40 am
Location: Masschusetts

Scripting Bridge Question

Post by jmorrin »

Okay I have my application updating my adium status message using scripting brige. Everything is working great but I am getting a warning. It will compile and run without any issues that I can see but still I hate warnings!

I am setting my account status message with the contents of a NSString:

Code: Select all

xAccounts.statusMessage = currentInfo;
and I am getting the warning: passing argument 1 of setStatusMessage from distinct Objective-C type.

I should be sending it a AdiumRichText object instead of a NSString correct? And if so how could I take the contents of the NSString and create a AdiumRichText?

also when I generated the header file for the scripting bridge for adium I found an error.

There were two instances of:

Code: Select all

@property (readonly) NSInteger idleTime;  // The time this contact has been idle.
I commented one out and it worked without any issue. The only difference was the comment.. This is the one I didn't comment out notice the comments:

Code: Select all

@property (readonly) NSInteger idleTime;  // The duration this contact has been idle.
mtimmsj
Frappa
Posts: 144
Joined: Wed Jun 08, 2005 6:55 pm
Location: Olympia, WA

Post by mtimmsj »

I can't really help with the first issue, but I have reported the issue regarding the idle time for you as #8925
Post Reply