Replace usages of owner.id with ownerID, and fix GroupDMChannel.equals

This commit is contained in:
Schuyler Cebulskie
2016-09-19 01:43:24 -04:00
parent 77e171e599
commit 9288cd8563
4 changed files with 6 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ class GroupDMChannel extends Channel {
this.id === channel.id &&
this.name === channel.name &&
this.icon === channel.icon &&
this.owner.id === channel.owner_id;
this.ownerID === channel.ownerID;
if (equal) {
const thisIDs = this.recipients.array().map(r => r.id);