@rocket.chat/apps-engine
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "@rocket.chat/apps-engine", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -71,7 +71,7 @@ "use strict"; | ||
var continueOn = true; | ||
if (app.hasMethod(metadata_1.AppMethod.CHECKPREMESSAGESENTPREVENT)) { | ||
continueOn = app.call(metadata_1.AppMethod.CHECKPREMESSAGESENTPREVENT, data, this.am.getReader(appId), this.am.getHttp(appId)); | ||
if (app.hasMethod(metadata_1.AppMethod.CHECKPOSTMESSAGESENT)) { | ||
continueOn = app.call(metadata_1.AppMethod.CHECKPOSTMESSAGESENT, data, this.am.getReader(appId), this.am.getHttp(appId)); | ||
} | ||
if (continueOn && app.hasMethod(metadata_1.AppMethod.EXECUTEPREMESSAGESENTPREVENT)) { | ||
app.call(metadata_1.AppMethod.EXECUTEPREMESSAGESENTPREVENT, data, this.am.getReader(appId), this.am.getHttp(appId), this.am.getPersistence(appId)); | ||
if (continueOn && app.hasMethod(metadata_1.AppMethod.EXECUTEPOSTMESSAGESENT)) { | ||
app.call(metadata_1.AppMethod.EXECUTEPOSTMESSAGESENT, data, this.am.getReader(appId), this.am.getHttp(appId), this.am.getPersistence(appId)); | ||
} | ||
@@ -78,0 +78,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
375694