forked from mystiq/hydrogen-web
these are assumed to be getters
This commit is contained in:
parent
4fd3e2ab20
commit
374dce638d
1 changed files with 2 additions and 2 deletions
|
@ -123,11 +123,11 @@ export class MemberChange {
|
||||||
return this._memberEvent.state_key;
|
return this._memberEvent.state_key;
|
||||||
}
|
}
|
||||||
|
|
||||||
previousMembership() {
|
get previousMembership() {
|
||||||
return getPrevContentFromStateEvent(this._memberEvent)?.membership;
|
return getPrevContentFromStateEvent(this._memberEvent)?.membership;
|
||||||
}
|
}
|
||||||
|
|
||||||
membership() {
|
get membership() {
|
||||||
return this._memberEvent.content?.membership;
|
return this._memberEvent.content?.membership;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue