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

Communities v2 prototype: Override invite aesthetics for community-as-room invites - #5143

Merged
turt2live merged 1 commit into
developfrom
travis/communities/proto/invites
Aug 26, 2020
Merged

Communities v2 prototype: Override invite aesthetics for community-as-room invites#5143
turt2live merged 1 commit into
developfrom
travis/communities/proto/invites

Conversation

@turt2live

Copy link
Copy Markdown
Member

Prototype behaviour:

  • When the user is looking at an invite to the community's primary room, show it as a community invite instead.
    • Requires compatible homeserver.
    • Rationale: Being invited to "General" is super unhelpful.

image
image

(If you're wondering why the screenshots don't look confusing then the PR is doing its job)

@turt2live
turt2live requested a review from a team August 26, 2020 03:07

@jryans jryans left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, looks good! 😄

const profile = await this.matrixClient._http.authedRequest(
undefined, "GET", path,
undefined, undefined,
{prefix: "/_matrix/client/unstable/im.vector.custom"});

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No particular need to change anything now, but just pointing out that im.vector should probably be replaced with io.element for new work.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

👍 will keep in mind for the next one (which should hopefully not need a generic custom namespace and instead can be associated to an MSC)

@turt2live
turt2live merged commit 98d098a into develop Aug 26, 2020
@turt2live
turt2live deleted the travis/communities/proto/invites branch August 26, 2020 14:33
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