[Pidgin] #6020: purple_xfer_get_remote_user should normalize returned user, fixes Adium issue with transfer on new tab

Pidgin trac at pidgin.im
Thu Jun 5 17:28:35 EDT 2008


#6020: purple_xfer_get_remote_user should normalize returned user, fixes Adium
issue with transfer on new tab
----------------------------+-----------------------------------------------
 Reporter:  ono             |       Type:  patch
   Status:  new             |   Priority:  minor
Component:  libpurple       |    Version:  2.4.2
 Keywords:  file, transfer  |    Pending:  0    
----------------------------+-----------------------------------------------
 `purple_xfer_get_remote_user` does not normalize returned `xft->who` which
 may be for ''Jabber'' `someuser at someserver/Resource` (JID with resource
 id) however `someuser at someserver` (without `Resource`) is valid buddy
 identifier.

 This causes Adium think calling `purple_xfer_get_remote_user` on signal
 `file-recv-request` reception that `someuser at someserver/Resource` is new
 user from out of the list, and therefore not applying valid file reception
 policy, neither opening FT box in the same chat tab.

 Attached patch that fixes the issue.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/6020>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list