add comment

This commit is contained in:
Yann Leboulanger 2005-10-12 19:00:24 +00:00
parent ad3d5c5944
commit 258595fc43
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ class TabbedChatWindow(chat.Chat):
def on_drag_data_received(self, widget, context, x, y, selection,
target_type, timestamp, contact):
# If not resource, we can't send file
if not contact.resource:
return
if target_type == self.TARGET_TYPE_URI_LIST: