do not DND on chat window that have no resource
This commit is contained in:
parent
a03e83e21d
commit
ad3d5c5944
|
@ -114,6 +114,8 @@ class TabbedChatWindow(chat.Chat):
|
|||
|
||||
def on_drag_data_received(self, widget, context, x, y, selection,
|
||||
target_type, timestamp, contact):
|
||||
if not contact.resource:
|
||||
return
|
||||
if target_type == self.TARGET_TYPE_URI_LIST:
|
||||
uri = selection.data.strip()
|
||||
uri_splitted = uri.split() # we may have more than one file dropped
|
||||
|
|
Loading…
Reference in New Issue