emacs-slack icon indicating copy to clipboard operation
emacs-slack copied to clipboard

Excessive thread notifications

Open ieure opened this issue 4 years ago • 3 comments

Describe the bug

I'm getting notifications for every thread (and reply within it) for every room I'm in.

To Reproduce Steps to reproduce the behavior:

  1. (setq slack-buffer-create-on-notify t)
  2. Wait for someone to create a thread, and someone to reply to it.
  3. You will see notifications (if you're using alert) and buffers created for the new thread, even though you took no action.
  4. Kill the buffer with the thread.
  5. If someone replies to the thread, the thread buffer is recreated and you're notified again.

Expected behavior

  • I only get notifications/new messages for threads I've explicitly opened with slack-thread-show-or-create.
  • There should be some way to explicitly stop receiving notifications for a thread. I looked and didn't find anything obvious.

Environment:

  • OS: Debian Buster
  • Emacs Version: GNU Emacs 26.1
  • emacs-slack Version: d53a57a. Something in between 009e48b...d53a57a changed this behavior.

ieure avatar Apr 08 '20 17:04 ieure

Okay, I found slack-message-unfollow, if I put point on the 1 reply from whoever line in the thread buffer and run it, I get:

[2020-04-13 08:20:46] [info] [TheSlackGroup] Successfully unfollowed.

But even if I do that and kill the thread buffer, it comes back the next time a thread reply is posted, and notifies me in the modeline via alert.

ieure avatar Apr 13 '20 15:04 ieure

Any update on this? I have what I think may be a related question.

The emacs slack client seems to prevent the desktop client from showing unread messages properly in the sidebar. That is, if I subscribe to channel abc on the emacs slack client and someone sends a message to channel xyz, the desktop client won't show that I have an unread message in channel xyz.

How can I make it so that I can subscribe to channel abc in the emacs slack client and use the desktop client to interact (and track read/unread status) in others channels?

Btw, thanks @yuya373 for this neat software.

emin63 avatar Oct 19 '20 20:10 emin63

I've actually decided that I like seeing everything that happens, and don't want this fixed. Or would like a fix which gives the option for either behavior.

ieure avatar Oct 19 '20 23:10 ieure