element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.39k stars 731 forks source link

Element repeatadly triggers notifications on smart watch, although there are none on the phone #2270

Closed MikkCZ closed 3 years ago

MikkCZ commented 4 years ago

Describe the bug For all other apps, new notification vibrate my Xiaomi Mi Band 4 only once. But for Element client, it vibrates about three times with interval of about one minute, even though there is a single new message only, and there were no edits from its author. Also the band lists the notification multiple times when you open the list of notifications there, however the phone shows only one.

I assume this could be caused by some interval, when the Element app checks for new messages and fires a new notification (or updates the old one), even though the notification has already been displayed on the phone for the very same message.

Expected behavior Notification about new message should be pushed only once.

Smartphone (please complete the following information):

Additional context

Add any other context about the problem here.

LinAGKar commented 3 years ago

I have the same thing with a Mi Band 3 and a Oneplus 8T with Android 11, and Element 1.1.11 from Google Play. When a message is received, the band vibrates repeatedly until you dismiss the notification. It also happens when you start a voice call, the band vibrates every few seconds for the duration of the call.

LinAGKar commented 3 years ago

I think this is the same as #1673

ouchadam commented 3 years ago

Fixed in Element 1.3.2 (see details in #3657)