diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index d8f8ab44d..cb669a97a 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -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: