We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fd4758 commit d370bdfCopy full SHA for d370bdf
1 file changed
src/Lite.php
@@ -27,6 +27,8 @@ class Lite implements EventEmitterInterface
27
{
28
use EventEmitterTrait;
29
30
+ const QOS_LEVEL = 1;
31
+
32
const MESSAGE_TOPIC = '/fbns_msg';
33
const MESSAGE_TOPIC_ID = '76';
34
@@ -294,6 +296,6 @@ public function register($packageName, $appId)
294
296
9
295
297
);
298
- return $this->client->publish(new DefaultMessage(self::REG_REQ_TOPIC_ID, $payload));
299
+ return $this->client->publish(new DefaultMessage(self::REG_REQ_TOPIC_ID, $payload, self::QOS_LEVEL));
300
}
301
0 commit comments