From: unknown Date: Sun, 12 Sep 2021 03:42:59 +0000 (+0530) Subject: Bug fixed in Postie X-Git-Tag: v1.3.0^2~16 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=1651a90deafeecf05fc39e3567501a1d1fd4a345;p=cinny.git Bug fixed in Postie --- 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; }