diff frontends/src/jp/cmd_message.py @ 1864:96ba685162f6

jp: all commands now use the new start method and set need_loop in __init__ when needed
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 16:52:51 +0100
parents cb4be663a4a7
children 3e168cde7a7d
line wrap: on
line diff
--- a/frontends/src/jp/cmd_message.py	Mon Feb 29 16:52:51 2016 +0100
+++ b/frontends/src/jp/cmd_message.py	Mon Feb 29 16:52:51 2016 +0100
@@ -35,8 +35,7 @@
         self.parser.add_argument("-n", "--new-line", action="store_true", help=_("add a new line at the beginning of the input (usefull for ascii art ;))"))
         self.parser.add_argument("jid", type=str, help=_("the destination jid"))
 
-    def connected(self):
-        super(Send, self).connected()
+    def start(self):
         jids = self.host.check_jids([self.args.jid])
         jid = jids[0]
         self.sendStdin(jid)