Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
199faf5c by wurstsalat at 2025-08-02T15:07:17+02:00
fix: File transfer: Fix warning message when invoking send-file action
- - - - -
1 changed file:
- gajim/gtk/chat_stack.py
Changes:
=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -621,7 +621,10 @@ def _on_action(self, action: Gio.SimpleAction, param:
GLib.Variant | None) -> No
uris = None
if param is not None:
- uris = param.get_strv() or None
+ uris = param.get_strv()
+ if all("" == uri for uri in param.get_strv()):
+ # All list entries are "" (default when invoking
"send-file" action)
+ uris = None
self._show_chat_function_page(FunctionMode.SEND_FILE, method, uris)
elif action_name == "show-contact-info":
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/199faf5c2bab702113c0e4f9c2a483432cc8f74a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/199faf5c2bab702113c0e4f9c2a483432cc8f74a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]