toDomain method
Convert the JID into the JID of the domain. For example, converts alice@example.org/abc123 to example.org.
Implementation
JID toDomain() {
return JID('', domain, '');
}
Convert the JID into the JID of the domain. For example, converts alice@example.org/abc123 to example.org.
JID toDomain() {
return JID('', domain, '');
}