blacksailer / depecher

Depecher - Unofficial Sailfish OS client for Telegram based on tdlib
44 stars 32 forks source link

New message from same contact or chat group #147

Open 24mu13 opened 4 years ago

24mu13 commented 4 years ago

Description

I have some (annoying) friend sending several messages in sequence, like the following:

hey
how are you?
still sick?

In this case I will receive THREE notifications (sound), disturbing and useless. Not to mention the same scenario in a chat-group, where everybody is texting at the same time! Nightmare.

Is it possible to avoid sound notification when message is coming from same user or group within a sort of short time-slice, like 30secs.

I am not sure you can handle this without change TDlib, so I put another issue there.

Environment

Steps to reproduce

  1. Ask a friend to send you 3 messages in few seconds
  2. Listen 3 beeps for 3 messages