Nextcloud Talk push notifications not working in public chats, but perfectly working in private chats

Nextcloud version : 25.0.3 and 25.0.5
Talk Server version (eg, 14.0.2): 16.0.0

In case mobile Nextcloud Talk apps are involved:
Talk iOS version (eg, 14.0.2): 16.0.0
Talk Android version (eg, 14.0.2): 16.0.0

The issue you are facing:
In the two Nextcloud instances that I work with, the push notifications in private chats (or to be precise in chats with one person) work perfectly on android and ios, but in public (> group) chats nothing appears in any device. So I suppose that it has got nothing to do with the operating system. It doesn‘t matter eather if the messages come in in the instance that is currently on the screen - the private chat messages always appear.
What makes it worse: The messages in public chat seem to „block“ the push notifications from private chats that come afterwards.

Is this the first time you’ve seen this error? (Y/N): no

Steps to replicate it:

  1. Install several Nextcloud instances in severalt Talk apps on different devices.
  2. Create on each instance a chat with one single person and one with several people.
  3. Ask the people to write you messages in a private chat. Make sure that the push notifications arrive.
  4. Ask the people to write you messages in a public chat. Check if the push notifications arrive. If it‘s the same case as with me, they don‘t arrive.
  5. Once you‘ve noticed that, ask the people to write you messages in a public chat and right afterwards in a private chat. If it‘s the same case as with me, the private messages won‘t arrive eather.

Thank you very much for your answers!
Kind regards,
Clemens

Hey, this can’t work, because Talk 16 is not supported on NC25 - can you please check the version again?
Regardless of the version, the default for group conversations is to only get notified on mentioning. So can you please check how the notification settings for these group conversations are?

Hi SysKeeper,
wow, that was quick :slight_smile: Sorry, of course, the Server Talk version is 15.0.5:

Nextcloud version : 25.0.3 and 25.0.5
Talk Server version (eg, 14.0.2): 15.0.5

In case mobile Nextcloud Talk apps are involved:
Talk iOS version (eg, 14.0.2): 16.0.0
Talk Android version (eg, 14.0.2): 16.0.0

Thank you for the hint, I modified it in the one instance where I can check it, so that now there should be notifications at all messages. But unfortunately there is still nothing coming :frowning:

Okay, that makes more sense now :slight_smile:
Hmm. So when you have an active session in one of the conversations, notifications will not be sent. So for example if „User1“ has the conversation in Web open and „User2“ sends a message, this message will not be pushed to mobile devices, because you’re active in that conversation. Is that the case?

Also there’s this document: talk-ios/notifications.md at master · nextcloud/talk-ios · GitHub that can help to debug some things (a similar one is in the android repo)

1 Like

Now everything works perfectly! :grinning:

If you try it, you actually have to be careful that you don’t have a session open on the desktop at the same time while waiting for a notification with the same user on the mobile device, but in the end everything works reliably. The reference to the github page was also very helpful, everything is described there very precisely and understandably!

Many many thanks for all the information!

You’re welcome - glad it’s now working for you!
We are aware that notification handling with active sessions is not optimal at the moment, but it’s not easy to improve that right now.