remove ability todrop a contact on self contact row

This commit is contained in:
Yann Leboulanger 2006-07-19 11:04:21 +00:00
parent 9e0b336c40
commit 39b4eedcf1
1 changed files with 4 additions and 0 deletions

View File

@ -3180,6 +3180,10 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
if gajim.connections[account_dest].connected < 2:
return
# drop on self contact row
if type_dest == 'self_contact':
return
if info == self.TARGET_TYPE_URI_LIST:
# User dropped a file on the roster
if len(path_dest) < 3: