tigase / siskin-im

(M) Public Project of Tigase Messenger for iOS devices based on Tigase Swift XMPP library.
GNU General Public License v3.0
173 stars 37 forks source link

Question about PUSH in MUC #173

Open pirujo opened 2 years ago

pirujo commented 2 years ago

I have a problem with… I convinced a friend using iPhone and Mac to use XMPP. Is the very first time I have a contact (very light contact) with an iPhone. He installed Siskin and start to chat with me all was OK. After that I created a MUC and invited some people including him, the MUC is private and non-anonymous in order to use OMEMO and all was OK, but PUSH seems not work: when Siskin goes to Away state and anyone send a message in MUC the iPhone doesn't receive notification.

I was searching in the web about PUSH notifications and asking in support groups and they said that the unique way to PUSH notifications works in MUCs seems only with groups residing in servers with Tigase software.

I'd like a clarification about how PUSH and MUCs works to explain to my friend.

**Details iPhone 6s iOS 14.6 Siskin.im 7.0.1 Server software for the MUC prosody 21.12

Regards and thanks in advanced

hantu85 commented 2 years ago

See #25 and #99 for more details.

There is no XEP (standard) specifying MUC PUSH notifications, so if someone is offline (iPhone not used for a while or the app was in the background for a while), then it will not receive any notifications from MUC.

In Tigase servers, we have implemented experimental support for push and used that. If I'm correct Prosody may have that as well. Due to that if you are using Tigase or Prosody as your XMPP server and your MUC room is also hosted by Tigase or Prosody then you may receive notifications (depending on your settings in the app, etc.).

pirujo commented 2 years ago

He has the account in a server with prosody and the MUC is in a different server with prosody too.

It would be great to know the settings in prosody servers and configurations in client and server too. Perhaps I could contact with the admins in both server in order to setup PUSH notifications.

haansn08 commented 2 years ago

I believe the Prosody module you are looking for is mod_cloud_notify_extensions.