Node.js based forum software built for the modern web
fix: cannot turn off all networks
Tong Hobbc7f2afba72
diff --git a/src/social.js b/src/social.jsindex b4cb54ae22..c95f2cc3ac 100644--- a/src/social.js+++ b/src/social.js@@ -41,12 +41,12 @@ social.getActivePostSharing = async function () {};social.setActivePostSharingNetworks = async function (networkIDs) {+ social.postSharing = null;await db.delete('social:posts.activated');if (!networkIDs.length) {return;}await db.setAdd('social:posts.activated', networkIDs);- social.postSharing = null;};require('./promisify')(social);