getContactPresence method

PresenceStatus? getContactPresence(
  1. PeerId contact
)

Get a contact's current presence state (from local cache)

Implementation

PresenceStatus? getContactPresence(PeerId contact) {
  return _presenceTracker?.getPresence(contact);
}