diff --git a/protocol/contact.go b/protocol/contact.go index bb50e1c50..8271adf53 100644 --- a/protocol/contact.go +++ b/protocol/contact.go @@ -426,6 +426,8 @@ func (c *Contact) MarshalJSON() ([]byte, error) { if c.mutual() { item.ContactRequestState = ContactRequestStateMutual + } else if c.dismissed() { + item.ContactRequestState = ContactRequestStateDismissed } else if c.added() { item.ContactRequestState = ContactRequestStateSent } else if c.hasAddedUs() {