typo
This commit is contained in:
parent
3f9a5a4e54
commit
d7de072155
@ -85,7 +85,7 @@ data class PublicRoom(
|
|||||||
val isFederated: Boolean = false
|
val isFederated: Boolean = false
|
||||||
) {
|
) {
|
||||||
/**
|
/**
|
||||||
* Return the canonical alias, or the first alias from the list of alias, or null
|
* Return the canonical alias, or the first alias from the list of aliases, or null
|
||||||
*/
|
*/
|
||||||
fun getPrimaryAlias(): String? {
|
fun getPrimaryAlias(): String? {
|
||||||
return canonicalAlias ?: aliases?.firstOrNull()
|
return canonicalAlias ?: aliases?.firstOrNull()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user