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

Implement UI for editing related groups of a room #1446

Merged
merged 3 commits into from
Oct 4, 2017

Conversation

lukebarnard1
Copy link
Contributor

(using the new EditableItemList)

(using the new EditableItemList)
limitations under the License.
*/

// import Promise from 'bluebird';
Copy link
Member

Choose a reason for hiding this comment

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

any reason for the commented stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops


validateGroupId: function(groupId) {
const localDomain = this.context.matrixClient.getDomain();
if (!GROUP_ID_REGEX.test(groupId) || !groupId.endsWith(localDomain)) {
Copy link
Member

Choose a reason for hiding this comment

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

why can I only add a group on my own server as a related group?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apparently this is unnecessary so we can get rid of the check.

@lukebarnard1 lukebarnard1 assigned dbkr and unassigned lukebarnard1 Oct 4, 2017
@dbkr dbkr assigned lukebarnard1 and unassigned dbkr Oct 4, 2017
@lukebarnard1 lukebarnard1 merged commit 54ba164 into develop Oct 4, 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