Project

General

Profile

How to get push notification from PubSub when user is offline?

Yama Patel
Added about 3 years ago

We have receive a notification through the pubsub when user is online but did not receive a notification when a user is offline.

So, Can you please provide guidance for how to get notification when user is offline?

Thank you!


Replies (1)

Added by Wojciech Kapcia TigaseTeam about 3 years ago

PubSub can be configured (on per-node basis, with possibility to configure default node config as well) to either deliver notifications to all subscribers or only to those online:

<field type="boolean" label="Whether to deliver notifications to available users only" var="pubsub#presence_based_delivery">
  <value>0</value>
</field>

    (1-1/1)