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

Slim down slack #10

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

fiji-flo
Copy link
Contributor

No description provided.

@fiji-flo fiji-flo requested a review from LeoMcA October 22, 2019 12:58
Copy link

@LeoMcA LeoMcA left a 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.

src/slack/app.rs Outdated Show resolved Hide resolved
src/slack/app.rs Outdated Show resolved Hide resolved
"{}?channel={}&team={}",
slack_uri_data.direct_message_uri, sur.user_id, sur.team_id
),
sur.user.name.clone(),
Copy link

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?

Copy link
Contributor Author

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.

Copy link

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.

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

Successfully merging this pull request may close these issues.

3 participants