AILogWithSignature(@"Unable to retrieve user list: %@",error);
[selfsetLastDisconnectionError:AILocalizedString(@"Unable to retrieve user list [fail]","Message when a (vital) twitter request to retrieve the follow list fails")];
[selfdidDisconnect];
}];
}else{
// If we don't load follows as contacts, we've finished connecting (fast, wasn't it?)
menuItem=[[[NSMenuItemalloc]initWithTitle:[NSStringstringWithFormat:AILocalizedString(@"Open %@'s user page",nil),inContact.UID]
target:self
action:@selector(openUserPage:)
keyEquivalent:@""]autorelease];
[menuItemsetImage:serviceIcon];
[menuItemsetRepresentedObject:inContact];
[menuItemArrayaddObject:menuItem];
menuItem=[[[NSMenuItemalloc]initWithTitle:[NSStringstringWithFormat:AILocalizedString(@"Enable device notifications for %@","Enable sending Twitter notifications to your phone (device)"),inContact.UID]
target:self
action:@selector(enableOrDisableNotifications:)
keyEquivalent:@""]autorelease];
[menuItemsetTag:YES];
[menuItemsetImage:serviceIcon];
[menuItemsetRepresentedObject:inContact];
[menuItemArrayaddObject:menuItem];
menuItem=[[[NSMenuItemalloc]initWithTitle:[NSStringstringWithFormat:AILocalizedString(@"Disable device notifications for %@","Disable sending Twitter notifications to your phone"),inContact.UID]
[adium.contentControllerdisplayEvent:[NSStringstringWithFormat:AILocalizedString(@"The direct message failed to delete. %@",nil),[selferrorMessageForError:error]]
ofType:@"delete"
inChat:chat];
}];
}
/*!
* @brief Convert a link URL and name into an attributed link
*
* @param label The text to display for the link.
* @param destination The destination address for the link.
* @param attributeName The name of the twitter link attribute for HTML processing.
// This happens for mentions which are in_reply_to_status_id but the @target isn't the first part of the message.
[mutableMessageappendAttributedString:[selfattributedStringWithLinkLabel:AILocalizedString(@"IRT","An abbreviation for 'in reply to' - placed at the beginning of the tweet tools for those which are directly in reply to another")