Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use new method of getting team icon #680

Merged
merged 2 commits into from
Feb 10, 2017
Merged

Use new method of getting team icon #680

merged 2 commits into from
Feb 10, 2017

Conversation

lukebarnard1
Copy link
Contributor

This was necessary because the team token may not be known when registering, but domain is. Storing the icon under the "common" directory is the chosen solution to this.

This was necessary because the team token may not be known when registering, but domain is. Storing the icon under the "common" directory is the chosen solution to this.
"https://riot.im/rts/static/common/" +
this.state.teamSelected.domain + "/icon.png" :
null}
/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hang on, surely these should be hosted on the RTS? Otherwise each install of Riot now has to have an icon for each team it needs to support.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, /rts/ points to the RTS server, which hosts the icons.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Right. Should it not be based off the team server URL in the config then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh. yes :)

@dbkr dbkr merged commit 33fc4f7 into develop Feb 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants