Previously the values where 0, 1 but now we have several more
The logic is don't send push only if preference is 'never'
Change-Id: I7a1d263da23d79d18d4dd89bc5bf1f4567e52996
* sql module was moved to util package
* no need to set encoding manually, is done in engine:connect()
* reuse engine if available, seems to be the way other modules
behave
Change-Id: I39afeb5a08ca5199e3f096fb43a4e8c3eac779ea
* No need to keep patches for our own modules. Patches are just
for changes We need on upstream modules. That helps us to upgrade
faster and keep our changes in a clean way
Change-Id: I0c006b758e0a891aa67cc0216635a0342282969b
* sipwise app logic needs the presence of the nick attribute
always to map jid and nick on MUC room
* FTR, nick is at presence from attribute
Change-Id: I710e98f1a4c5b3ea524d980dea99e3bd70deb072
* If a muc room has no description set, send its room name
instead of "prosody chatroom" to provide proper context
in push messages.
Change-Id: Id8259d69a3ebefa63da97ae0c71e39df0d558a08
* reduce debug output
* fire_offline_message():
- assert that we have a from nick
- check the original from jid too for is_pushd_blocked()
Change-Id: I0718fe71b9ea06e16de14aeb6017ce3986f16a71
avoid errors like:
> mod_c2s: Traceback[c2s]: /usr/lib/prosody/modules/mod_sipwise_pushd.lua:145:
> attempt to index field '?' (a nil value)
> stack traceback:
> /usr/lib/prosody/modules/mod_sipwise_pushd.lua:145: in function 'get_muc_caller'
Change-Id: Ie32195f49cef6b2145deba6ea78b8b1c43ea7d41
- No need to save MUC participants on redis
the message will be processed by sipwise_pushd
module at the server that has the MUC room in memory
- Load sipwise_pushd module at 'conference.' host if
is enabled at the config in order to process
'message/bare' events to catch MUC messages
- fix shard when subscriber offline
Change-Id: I9d56b3867075d496135ff5b530cc6b23aa16b987
- Changes on vcard to be able to get the info of
subscribers related to display_name pref
- gcm and asp can be enabled/disabled by configuration
- number of unread messages from offline module
Change-Id: If4e23ca57ccb2386e0f11fee2f170f2f59a80f82