add comment
This commit is contained in:
parent
ad3d5c5944
commit
258595fc43
|
@ -114,6 +114,7 @@ class TabbedChatWindow(chat.Chat):
|
||||||
|
|
||||||
def on_drag_data_received(self, widget, context, x, y, selection,
|
def on_drag_data_received(self, widget, context, x, y, selection,
|
||||||
target_type, timestamp, contact):
|
target_type, timestamp, contact):
|
||||||
|
# If not resource, we can't send file
|
||||||
if not contact.resource:
|
if not contact.resource:
|
||||||
return
|
return
|
||||||
if target_type == self.TARGET_TYPE_URI_LIST:
|
if target_type == self.TARGET_TYPE_URI_LIST:
|
||||||
|
|
Loading…
Reference in New Issue