If in an XMPP-aware app, move command execution along
1 files changed, 3 insertions(+), 1 deletions(-) M views/credit_cards.slim
M views/credit_cards.slim => views/credit_cards.slim +3 -1
@@ 76,7 76,9 @@ javascript: }).then(function(response) { instance._mainView.hideLoadingIndicator(); - if(response.status !== 200) { + if(response.status === 200) { + if (xmpp_xep0050) xmpp_xep0050.execute(); + } else { return Promise.reject(response); } }).catch(function(err) {