Changeset 18361
- Timestamp:
- 12/07/2006 11:55:41 AM (2 years ago)
- Files:
-
- trunk/Plugins/Gaim Service/CBGaimAccount.m (modified) (1 diff)
- trunk/Plugins/Gaim Service/ESGaimJabberAccount.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Plugins/Gaim Service/CBGaimAccount.m
r18155 r18361 773 773 - (BOOL)allowFileTransferWithListObject:(AIListObject *)inListObject 774 774 { 775 return YES; 775 GaimPluginProtocolInfo *prpl_info = NULL; 776 777 if (account && account->gc && account->gc->prpl) 778 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(account->gc->prpl); 779 780 if (prpl_info && prpl_info->send_file) 781 return (!prpl_info->can_receive_file || prpl_info->can_receive_file(account->gc, [[inListObject UID] UTF8String])); 782 else 783 return NO; 776 784 } 777 785 trunk/Plugins/Gaim Service/ESGaimJabberAccount.m
r17857 r18361 419 419 } 420 420 421 /*!422 * @brief Allow a file transfer with an object?423 *424 */425 - (BOOL)allowFileTransferWithListObject:(AIListObject *)inListObject426 {427 return YES; //this is broken. Not all jabber servers support it, but I don't know how to check if they do. Smack will fix.428 }429 430 431 421 #pragma mark Status Messages 432 422 - (NSAttributedString *)statusMessageForGaimBuddy:(GaimBuddy *)b