Spec says that actions must be specified if there are any. In practise, at
least biboumi violates this and sends back no actions at all but is in
"executing" state meaning it expects a next stage. So in this case we should do
something smarter than assuming we're all done. Put up a button for the
execute/default action.
@@ -1778,6 +1778,12 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
removeSession(this);
return;
}
+
+ if (command.getAttribute("status").equals("executing") && actionsAdapter.getCount() < 1) {
+ // No actions have been given, but we are not done?
+ // This is probably a spec violation, but we should do *something*
+ actionsAdapter.add("execute");
+ }
}
if (actionsAdapter.getCount() > 0) {