[Pidgin] #3982: Fix: Autoaccept plugin saves files to subdirectories based on resource
Pidgin
trac at pidgin.im
Sat Nov 17 07:37:48 EST 2007
#3982: Fix: Autoaccept plugin saves files to subdirectories based on resource
------------------------------------+---------------------------------------
Reporter: galt | Type: patch
Status: new | Priority: minor
Component: plugins | Version: 2.2.2
Keywords: autoaccept,xmpp,jabber | Pending: 0
------------------------------------+---------------------------------------
When a file is received by the auto-accept plugin, it is saved to a
directory based on the sender's ID. If the protocol used is XMPP, the
sender's ID (as represented in xfer->who) is of the form
"user at server/resource", which causes received files to be saved in
subdirectories based on the resource name. I doubt this is intended or
preferable behaviour.
From a user perspective, it really doesn't matter which resource the file
was sent from. It also gets messy when the sender is on GTalk, because
GTalk adds a (random?) suffix to the user's resource, and that suffix
changes every time the user logs in. The result is a mess of lots of
subdirectories all named "Home57A042B5" and such.
I'm attaching a (slightly hackish) patch that I think solves this issue.
--
Ticket URL: <http://developer.pidgin.im/ticket/3982>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list