mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
these are assumed to be getters
This commit is contained in:
parent
4fd3e2ab20
commit
374dce638d
@ -123,11 +123,11 @@ export class MemberChange {
|
||||
return this._memberEvent.state_key;
|
||||
}
|
||||
|
||||
previousMembership() {
|
||||
get previousMembership() {
|
||||
return getPrevContentFromStateEvent(this._memberEvent)?.membership;
|
||||
}
|
||||
|
||||
membership() {
|
||||
get membership() {
|
||||
return this._memberEvent.content?.membership;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user