Philipp Hörist pushed to branch unify-control at gajim / gajim


Commits:
af5ec819 by lovetox at 2022-08-10T22:16:28+02:00
fix: Fix file send action

- - - - -


1 changed file:

- gajim/gui_interface.py


Changes:

=====================================
gajim/gui_interface.py
=====================================
@@ -398,13 +398,14 @@ def start_file_transfer(self,
                             path: Optional[str] = None,
                             method: Optional[str] = None
                             ) -> None:
+
         if method is None:
             method = self._get_pref_ft_method(contact)
             if method is None:
                 return
 
         control = app.window.get_control()
-        if control.has_active_chat():
+        if not control.has_active_chat():
             return
 
         if path is None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/af5ec8193b8589750134fe139e56f07c60fb9861

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/af5ec8193b8589750134fe139e56f07c60fb9861
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to