Deepscan bug fixed

This commit is contained in:
Luis Fernando Molina committed 2021-08-31 18:46:42 +02:00
1 parent a4ac062fc0
commit b9e170a0bc
1 file changed
+6 -10
@@ -78,11 +78,9 @@ exports.newSocialTradingModulesQueriesEvents = function newSocialTradingModulesQ
/*
The context is a User Profile
*/
if (emitterUserProfile !== undefined) {
if (emitterUserProfile.userProfileId === thisObject.profile.userProfileId) {
addToResponse(event)
return
}
if (emitterUserProfile.userProfileId === thisObject.profile.userProfileId) {
addToResponse(event)
return
}
if (targetUserProfile !== undefined) {
if (targetUserProfile.userProfileId === thisObject.profile.userProfileId) {
@@ -115,11 +113,9 @@ exports.newSocialTradingModulesQueriesEvents = function newSocialTradingModulesQ
/*
The context is a User Profile
*/
if (emitterUserProfile !== undefined) {
if (thisObject.profile.following.get(emitterUserProfile.userProfileId) !== undefined) {
addToResponse(event)
return
}
if (thisObject.profile.following.get(emitterUserProfile.userProfileId) !== undefined) {
addToResponse(event)
return
}
if (targetUserProfile !== undefined) {
if (thisObject.profile.following.get(targetUserProfile.userProfileId) !== undefined) {