Skip to content

Commit

Permalink
remove jid.Equal()
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Apr 7, 2021
1 parent 9c9001f commit 2a19c4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jid.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func (jid JID) IsTask() bool { return strings.HasPrefix(jid.String(), TaskPre
func (jid JID) IsSection() bool { return strings.HasPrefix(jid.String(), ContactSectionPrefix) }

func (jid JID) Empty() bool { return jid.String() == "" }
func (jid JID) Equal(other JID) bool { return jid.String() == other.String() }
func (jid JID) JID() JID { return jid }
func (jid JID) String() string { return string(jid) }
func (jid JID) Valid() bool { return jid.Uid() != "" }
Expand Down

0 comments on commit 2a19c4d

Please sign in to comment.