Bug fixed in Postie
authorunknown <ajbura@gmail.com>
Sun, 12 Sep 2021 03:42:59 +0000 (09:12 +0530)
committerunknown <ajbura@gmail.com>
Sun, 12 Sep 2021 03:42:59 +0000 (09:12 +0530)
src/util/Postie.js

index c3bf80645ad0cd470940902bf6b6b021cf830e9a..668408dd5f04de5d8668568d496038c6d644c72f 100644 (file)
@@ -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;
   }