Introduce Membership type
This commit is contained in:
parent
3c6fd58628
commit
da99bad7b9
115 changed files with 582 additions and 526 deletions
|
@ -217,7 +217,7 @@ export default class TimelineCard extends React.Component<IProps, IState> {
|
|||
const isUploading = ContentMessages.sharedInstance().getCurrentUploads(this.props.composerRelation).length > 0;
|
||||
|
||||
const myMembership = this.props.room.getMyMembership();
|
||||
const showComposer = myMembership === "join";
|
||||
const showComposer = myMembership === Membership.Join;
|
||||
|
||||
return (
|
||||
<RoomContext.Provider
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue