-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support sub-thread starting points #46
Comments
Hey @mwarkentin, just got back from a trip. The only case I am completely sure that That being said, I think to test properly you need to quote the URL because it contains an ampersand. Right now it's being interpreted by zsh as a request to background the |
I'll try that and let you know, thanks! |
Only took me 9 months, but I tried it with quotes and doesn't seem to help :D
|
Hi @mwarkentin, I think the issue is down to the parsing of the permalink. Here is an example link for the first message in a thread:
No query parameters! One for the third message in a thread:
This code doesn't look at the query parameters at all: gh-slack/cmd/gh-slack/cmd/read.go Lines 42 to 55 in 86f738f
That means that it's the same as just requesting all the top level messages in the channel after the time of the original message in the thread. I think just using the
and seeing if the expected messages come out. |
@mwarkentin I've put together a fix, which was a little more complicated than I thought, over at #60. Could you give it a try please? If you check out that PR then you can run:
|
@rneatherway thanks! I will try to give that a shot tomorrow! |
Confirmed fixed over here: #60 (comment) |
Not sure if I've never tried this before, or if Slack just changed something, but recently I copied a link to a message within a thread (I didn't care about anything before it in the thread) and using this link on
gh-slack
didn't work:When I grabbed the first message in the thread the URL didn't have the query params and worked:
Ideally this would grab the contents of the thread starting from that point, but I'd also be ok if it just ignored the query params and pulled the whole thread.
The text was updated successfully, but these errors were encountered: