Changeset 24061
- Timestamp:
- 06/24/2008 07:16:27 PM (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/Source/AIAccount.h
r23837 r24061 166 166 - (BOOL)suppressTypingNotificationChangesAfterSend; 167 167 - (BOOL)canSendOfflineMessageToContact:(AIListContact *)inContact; 168 - (BOOL)sendOfflineMessagesWithoutPrompting; 168 169 - (BOOL)accountDisplaysFileTransferMessages; 169 170 - (BOOL)managesOwnContactIconCache; trunk/Frameworks/Adium Framework/Source/AIAccount.m
r23992 r24061 339 339 340 340 /*! 341 * @brief Support server-side storing of messages to offline users 341 * @brief Support server-side storing of messages to offline users? 342 342 * 343 343 * Some protocols store messages to offline contacts on the server. Subclasses may return YES if their service supports … … 346 346 */ 347 347 - (BOOL)canSendOfflineMessageToContact:(AIListContact *)inContact 348 { 349 return NO; 350 } 351 352 /*! 353 * @brief Should offline messages be sent without prompting the user? 354 * 355 * If -[self canSendOfflineMessageToContact:] returns YES, Adium typically asks the user whether or not to send a message 356 * to be stored on the server. If sendOfflineMessagesWithoutPrompting returns YES, this prompt is always suppressed. 357 * 358 * This should only be true if offline messaging is a well-established expectation for the service. 359 */ 360 - (BOOL)sendOfflineMessagesWithoutPrompting 348 361 { 349 362 return NO; trunk/Plugins/Dual Window Interface/AIMessageViewController.m
r24060 r24061 433 433 434 434 AIChatSendingAbilityType messageSendingAbility = [chat messageSendingAbility]; 435 if (suppressSendLaterPrompt || (messageSendingAbility == AIChatCanSendMessageNow)) { 435 if (suppressSendLaterPrompt || (messageSendingAbility == AIChatCanSendMessageNow) || 436 ((messageSendingAbility == AIChatCanSendViaServersideOfflineMessage) && [[chat account] sendOfflineMessagesWithoutPrompting])) { 436 437 AIContentMessage *message; 437 438 NSAttributedString *outgoingAttributedString;