yuya373 / emacs-slack

slack client for emacs
1.11k stars 117 forks source link

Error in unread.history: "unknown_method" #546

Open stonekyx opened 3 years ago

stonekyx commented 3 years ago

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:

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

juboba commented 3 years ago

I'm also having this problem.

rbugajewski commented 3 years ago

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?

akoppela commented 3 years ago

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