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

Error in unread.history: "unknown_method"

Open stonekyx opened this issue 4 years ago • 3 comments

Describe the bug Cannot open unread list with either slack-all-unreads or helm-slack-unreads.

To Reproduce Steps to reproduce the behavior:

  1. M-x slack-all-unreads, or
  2. M-x helm-slack-unreads

An error will be printed in *Messages* saying Error in unread.history: "unknown_method" (for helm-slack-unreads) or Failed to request slack-unread-history: unknown_method (for slack-all-unreads).

Backtrace

Expected behavior Show a list of unread conversations.

Screenshots

Environment:

  • OS: macOS
  • Emacs Version: 27.1
  • emacs-slack Version: 1f6a40f

Additional context unread.history API cannot be found on https://api.slack.com/methods . Seems like deprecated?

stonekyx avatar Jan 26 '21 03:01 stonekyx

I'm also having this problem.

juboba avatar Jan 26 '21 21:01 juboba

unread.history API cannot be found on https://api.slack.com/methods . Seems like deprecated?

Indeed. There’s some documentation in the message retrieval and conversation history parts, but it looks like it just gives an unread count and that you can’t see if a user read a message or not via both API endpoints.

Let’s assume that the API won’t be available in the future, what would be a viable workaround to see all unread messages?

rbugajewski avatar Apr 22 '21 07:04 rbugajewski

You can use slack-select-unread-rooms at the moment.

akoppela avatar Apr 23 '21 03:04 akoppela