diff sat_frontends/quick_frontend/quick_app.py @ 3232:f3c99e96ac03

quick frontend (app): fixed argument order in `messageSend` default errback
author Goffi <goffi@goffi.org>
date Mon, 23 Mar 2020 17:53:29 +0100
parents fc2bea41e402
children 6cf4bd6972c2
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_app.py	Mon Mar 23 17:52:18 2020 +0100
+++ b/sat_frontends/quick_frontend/quick_app.py	Mon Mar 23 17:53:29 2020 +0100
@@ -855,7 +855,7 @@
                #        without arg with json proxy
         if errback is None:
             errback = lambda failure: self.showDialog(
-                failure.fullname, failure.message, "error"
+                message=failure.message, title=failure.fullname, type="error"
             )
 
         if not self.trigger.point("messageSendTrigger", to_jid, message, subject, mess_type, extra, callback, errback, profile_key=profile_key):