mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +03:00
typo
This commit is contained in:
parent
3f9a5a4e54
commit
d7de072155
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ data class PublicRoom(
|
|||
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? {
|
||||
return canonicalAlias ?: aliases?.firstOrNull()
|
||||
|
|
Loading…
Add table
Reference in a new issue