Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to list channels? how do join a channel? #17

Closed
danhimalplanet opened this issue Nov 29, 2017 · 8 comments
Closed

how to list channels? how do join a channel? #17

danhimalplanet opened this issue Nov 29, 2017 · 8 comments
Assignees

Comments

@danhimalplanet
Copy link

I'm running this with bitlbee-libpurple

How do I list channels?

How do I join a channel?

with a similar plugin, 'bitlbee-discord', i do this:

channel list discord

@zoltan-dulac
Copy link
Collaborator

@danhimalplanet This can be done in Pidgin easily via clicking File > Add Chat.

  1. In the "Account" dropdown, choose your slack account
  2. Click on "Room List"
  3. It will give you a list (in a nice tree structure) of all the channels you can join.

Does this help?

@dylex
Copy link
Owner

dylex commented Dec 2, 2017

Yes, channels are exposed through the standard libpurple room api. It sounds like your question is more about how bitlbee works with libpurple, so you might try asking there.

@dylex
Copy link
Owner

dylex commented Feb 3, 2018

Closing since question does not seem specific to slack. Feel free to reopen if there are slack-specific issues.

@dylex dylex closed this as completed Feb 3, 2018
@EionRobb
Copy link
Collaborator

EionRobb commented Mar 8, 2018

On bitlbee it's chat add slack general

@dylex
Copy link
Owner

dylex commented Mar 8, 2018

In terms of listing channels, it looks like bitlbee doesn't implement the "expand roomlist category" that this relies on to request subsets of the channels, so can never get the lists (but maybe I've missed something).

I'm thinking about switching to the new slack conversation api which may allow me to avoid this extra expand step, but it would be nice if there were a way in bitlbee to expand a roomlist category to get the actual list.

@EionRobb
Copy link
Collaborator

EionRobb commented Mar 8, 2018

tbh, Slack is the first prpl I've seen that uses that "expand roomlist" callback thing :)

Any reason you can't make all the calls without the expand trigger?

@dylex
Copy link
Owner

dylex commented Mar 8, 2018

Mainly just because the slack api has 5 separate calls to return the lists (and aggressive rate limiting so you can't make them all at once) and I was too lazy to coordinate chaining them all, but the new api provides a single call to get them all so that will help.

@dylex
Copy link
Owner

dylex commented May 31, 2020

Reopening this to remind myself to switch to conversations.list to slightly simplify the room list and maybe only use expand for pagination and archived channels.

@dylex dylex reopened this May 31, 2020
@dylex dylex self-assigned this May 31, 2020
@dylex dylex closed this as completed in c259ea7 May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants