toBare method

JID toBare()

Converts the JID into a bare JID.

Implementation

JID toBare() {
  return JID(local, domain, '');
}