mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
Update GuildMember.ts
This commit is contained in:
parent
0b23d2acba
commit
802f31569b
@ -42,11 +42,6 @@ export default class GuildMember {
|
||||
this.flags = data.flags;
|
||||
this.pending = data.pending;
|
||||
this.communication_disabled_until = data.communication_disabled_until;
|
||||
|
||||
if ("presence" in data) {
|
||||
// TODO:
|
||||
this.app.presences.add(data.presence);
|
||||
}
|
||||
}
|
||||
|
||||
@computed
|
||||
@ -62,11 +57,6 @@ export default class GuildMember {
|
||||
@action
|
||||
update(member: APIGuildMember | GatewayGuildMemberListUpdateMember) {
|
||||
Object.assign(this, member);
|
||||
|
||||
if ("presence" in member) {
|
||||
// TODO:
|
||||
this.app.presences.add(member.presence);
|
||||
}
|
||||
}
|
||||
|
||||
@action
|
||||
|
Loading…
Reference in New Issue
Block a user