1.1 --- a/Frameworks/Adium Framework/Source/AIListObject.m Thu Nov 26 01:15:12 2009 -0500
1.2 +++ b/Frameworks/Adium Framework/Source/AIListObject.m Fri Nov 27 15:50:57 2009 -0500
1.3 @@ -602,16 +602,6 @@
1.4 }
1.5 }
1.6
1.7 -- (NSString *)scriptingStatusMessage
1.8 -{
1.9 - return [self statusMessageString];
1.10 -}
1.11 -- (void)setScriptingStatusMessage:(NSString *)message
1.12 -{
1.13 - [[NSScriptCommand currentCommand] setScriptErrorNumber:errOSACantAssign];
1.14 - [[NSScriptCommand currentCommand] setScriptErrorString:@"Can't set the status of a contact."];
1.15 -}
1.16 -
1.17 - (void)setBaseAvailableStatusAndNotify:(NotifyTiming)notify
1.18 {
1.19 [self setStatusWithName:nil
1.20 @@ -826,6 +816,15 @@
1.21 }
1.22 return 0;
1.23 }
1.24 +
1.25 +/**
1.26 + * @brief Returns the current status message as rich text
1.27 + */
1.28 +- (NSTextStorage *)scriptingStatusMessage
1.29 +{
1.30 + return [[[NSTextStorage alloc] initWithAttributedString:self.statusMessage] autorelease];
1.31 +}
1.32 +
1.33 @end
1.34
1.35 /*