Conversations icon indicating copy to clipboard operation
Conversations copied to clipboard

Silence notifications while other client is connected

Open haasn opened this issue 4 years ago • 5 comments

There's a setting for the "grace period" which is for silencing notifications for a set duration after activity is detected on another device. This does not match my use case well.

What I want to accomplish is for notifications to be silenced while another client is connected. (Any client would do, though in principle you could maybe have it detect currently connected clients and choose them from a list?)

Rationale: I use XMPP from two places - my phone, and my work computer. While my work computer is on and connected, I don't want to see notifications on my phone. The work computer's client merely being connected is enough for me to see messages there, even if I'm not actively using it. When I leave my work computer for an extended period of time, I turn it off.

If anything, I'd expect there to be a setting for an inverse grace period, where you temporarily re-enable notifications when detecting activity in conversations, even if another client is currently connected.

haasn avatar May 04 '21 10:05 haasn

This is still a major unsolved issue for me, with me having to put my phone into "DND" mode while using the PC just to stop Conversations from spamming me with notifications about messages I already see on my PC.

The "Grace period after detecting activity on another device" just doesn't seem to do anything at all. I still get notifications on my phone even while actively chatting in e.g. Dino on PC.

haasn avatar Nov 02 '21 11:11 haasn

What sort of chats? 1:1? Public channel? Private group?

Dino does not have chat markers for groups iirc, so that might be an issue.

licaon-kter avatar Nov 02 '21 11:11 licaon-kter

1:1

haasn avatar Nov 02 '21 11:11 haasn

Can you try with Gajim+Conversations too, to exclude Dino?

What Dino version exactly?

licaon-kter avatar Nov 02 '21 11:11 licaon-kter

I still get notifications in Conversations.im even when running Gajim at the same time (and having sent a message in Gajim).

  • Dino version: 0.2.2-1.1 (via openSuSE repo)
  • Gajim version: 1.3.2-2.1 (via openSuSE repo)
  • Conversations version: 2.10.1+pcr (via Play store)

Edit: Also, for completeness' sake, I have the "grace period" set to "Long".

haasn avatar Nov 02 '21 12:11 haasn