[Adium-devl] File Transfer Offering Notification

Erich Kreutzer eagleeye87 at gmail.com
Thu Aug 16 18:17:19 UTC 2007


I'm nearing completion of file transfer from bonjour accounts and I  
have a question for anyone familiar with file transfer in Adium.

When sending a file through a libpurple account, a event comes up  
saying "Offering to send _filename_ to _contact_".  I looked into  
where this message comes from and noticed that static void  
adiumPurpleConvWriteConv(...) in adiumPurpleConversation.m doesn't  
know what to do with said message and therefore just displays it.

After looking around I noticed that ESFileTransferMessagesPlugin  
handles the display of the rest of the file transfer notifications.   
I am curious what you all thought of adding a notification called  
FILE_TRANSFER_WAITING_REMOTE that would be generated when an  
ESFileTransfer's status changes to  
Waiting_on_Remote_User_FileTransfer.  When that notification is  
generated ESFileTransferMessagesPlugin would send a status message of  
the form "Offering to send _filename_ to _contact_".

Would this be the correct way to handle the display of this message  
or is there another way you might suggest?

Thanks for the help,

Erich




More information about the devel mailing list