getServerName

fun String.getServerName(): String

Return the domain form a userId. Examples:

  • "@alice:domain.org".getDomain() will return "domain.org"

  • "@bob:domain.org:3455".getDomain() will return "domain.org:3455"