-
Notifications
You must be signed in to change notification settings - Fork 3
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
Slim down slack #10
base: master
Are you sure you want to change the base?
Slim down slack #10
Conversation
for now that ungraceful but at least we error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but with some comments.
"{}?channel={}&team={}", | ||
slack_uri_data.direct_message_uri, sur.user_id, sur.team_id | ||
), | ||
sur.user.name.clone(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This returns "Leo McArdle" rather than "leo", is there no way of returning the username without getting into scope hell again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not hell, but complicated. The display name would require another scope and another call to an endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I don't think it's necessary for the moment then.
822b76b
to
992a295
Compare
No description provided.