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

Load list of DMs and MPDMs #874

Closed
nickwynja opened this issue Sep 21, 2022 · 2 comments
Closed

Load list of DMs and MPDMs #874

nickwynja opened this issue Sep 21, 2022 · 2 comments

Comments

@nickwynja
Copy link

Thanks for the update to using the new session tokens! I can finally try using wee-slack again.

Originally posted by @trygveaa in #844 (comment):

Unfortunately the API doesn't return if a DM or MPDM is open anymore, which caused no DMs and all MPDMs to open on start. It's now changed to only open the DMs and MPDMs with unread messages.

I want to caveat my issue with saying that I'm not very familiar with how weechat works overall; still learning. I don't think I'd need the DMs and MPDMs to show as open but I'm interested at least a list of all of the DMs and MPDMs "available" so I can tab complete them with a /go command.

@nickwynja
Copy link
Author

Learning fast. Seems like I can do this with /query as long as I'm in a slack buffer.

@trygveaa
Copy link
Member

Yes, you can use /query from any buffer on the same slack team to open a DM or group DM. You can get a list of all the users in the team with /slack users, so that would be all the DMs you can open, and group DMs is any combination of these users by comma separating the names, like /query user1,user2.

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

2 participants