From 1651a90deafeecf05fc39e3567501a1d1fd4a345 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 12 Sep 2021 09:12:59 +0530 Subject: [PATCH] Bug fixed in Postie --- src/util/Postie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/Postie.js b/src/util/Postie.js index c3bf806..668408d 100644 --- a/src/util/Postie.js +++ b/src/util/Postie.js @@ -30,8 +30,8 @@ class Postie { } hasTopicAndSubscriber(topic, address) { - return (this.isTopicExist(topic)) - ? this.isSubscriberExist(topic, address) + return (this.hasTopic(topic)) + ? this.hasSubscriber(topic, address) : false; }