changeset 1623:ec48b35309dc

jp: use the new actionsGet method
author Goffi <goffi@goffi.org>
date Tue, 17 Nov 2015 21:29:03 +0100
parents 5b24d6bf5d15
children 7e749e8eefd0
files frontends/src/jp/base.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Tue Nov 17 21:28:58 2015 +0100
+++ b/frontends/src/jp/base.py	Tue Nov 17 21:29:03 2015 +0100
@@ -577,3 +577,6 @@
         self.need_loop = True
         super(CommandAnswering, self).connected()
         self.host.bridge.register("actionNew", self.onActionNew)
+        actions = self.host.bridge.actionsGet(self.profile)
+        for action_data, action_id, security_limit in actions:
+            self.onActionNew(action_data, action_id, security_limit, self.profile)