Fix other .equals(null) (#541)

This commit is contained in:
Schuyler Cebulskie
2016-08-25 19:14:19 -04:00
committed by Amish Shah
parent 8038903c3e
commit 0a005cbd16
4 changed files with 4 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ class GroupDMChannel extends Channel {
equals(other) {
const base = (
other &&
this.id === other.id &&
this.name === other.name &&
this.icon === other.icon &&