Skip to content

No emails on unhandled notifications for new users #3053

Description

@bentuna

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a new user account "B" via email and activate the account, log in for the first time.
  2. As another user "A", send a Talk message to user B via direct message.
  3. See how user B does not get any email notifications - not even hours or days later - never.
  4. One week later, as user B,
  • check how the notification menu in Nextcloud lists the missed Talk notification
  • check how under /settings/user/notifications the setting "Send email reminders about unhandled notifications after:" is set to "1 week" - but emails are sent never.
  • change the setting "Send email reminders about unhandled notifications after:" to something else and then again to one hour
  • See how with the next cron (~5 minutes later) the email about the unhandled notification is sent.

Expected behaviour

GUI should match actual functionality.
New users should get email notifications by default because especially in the beginning email is often times the only reliable channel to reach the user.

Actual behaviour

See steps

Additional context

We figured out that in the database table oc_notifications_settings for faulty users the field batch_time is 5 and the field next_send_time is 0.
For healthy users the field batch_time is 0, 3600, 10800, 86400 or 604800 and the field next_send_time is 0 (only when batch_time is 0) or a unix time stamp.

Server configuration

Nextcloud version: 32.0.9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions