Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification keeps resending #1673

Closed
Wandelstock opened this issue Jul 12, 2020 · 10 comments · Fixed by #3657
Closed

Notification keeps resending #1673

Wandelstock opened this issue Jul 12, 2020 · 10 comments · Fixed by #3657
Assignees

Comments

@Wandelstock
Copy link

If a notification isnt honored, riot.imx keeps resending it. So i get again a notificationssound and it resends it to my smartwatch (4 times)

0.91.4

@rarepops
Copy link

I have this, but on the phone. Very weird (Android, latest Element version)

@orbitarte
Copy link

Same here last version of element

@Wandelstock
Copy link
Author

Still the annoying bug. My smartwatch and tasker is going Bezirk

@Ji-eF
Copy link

Ji-eF commented Oct 14, 2020

I also have this bug on my device : Nexus 6P with Lineageos 15 (Androis 8) and Element from F-Droid

@Ji-eF
Copy link

Ji-eF commented Oct 16, 2020

It's quite hard to explain, so I hope I'll be clear enough :)
Upon a bit of investigation, it seems that the culprit is Element's "Silent notifications" category :

  • When getting a notification from a room with noisy notification, Element triggers "Noisy notification" category for Element's (in Android Settings > Apps Notifications) which seems OK.
  • But then, the notification keeps popping up every few 10-seconds with the "Silent notification" category (when "Silent" is configured to "Vibrate" and/or "Sound" and/or "Blink LED".

The same behaviour appears while being on a video/phone call and you play around with notification area to make the voice call screen appear and hide ; the silent notification make the phone vibrate and sound, when configured to do so.

@ukanuk
Copy link

ukanuk commented Jun 10, 2021

it makes me very frustrated when Element notifications wake me up in the middle of the night due to this issue.

Notifications will start retriggering every minute because a friend in another time zone sent a message, and if it happens to be the 1% of the time when my Amazfit Bip hasn't detected me going to sleep and automatically turning on Do Not Disturb, then the watch starts vibrating and lighting up every minute and wakes me up. Every other app sends notifications only once.

Even if it only happened once a year, it makes me very frustrated when Element notifications wake me up in the middle of the night.

@ukanuk
Copy link

ukanuk commented Jun 19, 2021

I have this issue with the Google Play version of Element, while the other users say they have it with the F-Droid version. It seems to affect both versions.

SpiritCroc added a commit to SpiritCroc/element-android that referenced this issue Jul 10, 2021
Resending the notification here can trigger other system components or
apps that listen to new notifications, such as connected smart watches
or automation tools.

Fixes element-hq#1673
@Vulkanodox
Copy link

How is this shit not fixed yet? Just started to use element but this is unusable. No wonder why everybody wants to use whatsapp.

@ouchadam
Copy link
Contributor

ouchadam commented Oct 1, 2021

able to reproduce this using the latest from develop 2b38c60 with a Xiaomi Mi Band 5

  • Have a unread notification on the phone
  • Join matrix-hq (even with no notifications)
  • Proceed to get spammed with notifications on the connected device but nothing on the phone

This happens because each time we receive new events such as a message being read in a room we're retriggering the notification logic, and that logic currently causes a summary notification to be notified if we have a legitimate active notification (such as from a DM)

#3657 fixes the issue by only updating the summary notification if a user facing notification has been triggered rather than every time the Sync has new events but doesn't cover the case where mentions/phone facing notifications will still notify the connected band every time

@bmarty
Copy link
Member

bmarty commented Oct 1, 2021

Fixed in Element 1.3.2 (see details in #3657)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants