nodebb-plugin-two-way-block
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -60,3 +60,3 @@ 'use strict'; | ||
data.teasers = await Promise.all( | ||
data.teasers.map(postData => (blockedSet.has(parseInt(postData.user.uid, 10)) ? | ||
data.teasers.map(postData => (blockedSet.has(parseInt(postData.user ? postData.user.uid : postData.uid, 10)) ? | ||
getPreviousNonBlockedPost(postData, blockedSet) : | ||
@@ -63,0 +63,0 @@ postData)) |
{ | ||
"name": "nodebb-plugin-two-way-block", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Blocking a user hides your posts from them too. This plugin is only compatible with NodeBB versions released **after** 1.13.3 (including master branch)", | ||
@@ -5,0 +5,0 @@ "main": "library.js", |
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
13327