fix: ContactOrBot.render (#2010)

This commit is contained in:
cssxsh 2022-05-04 16:28:14 +08:00 committed by GitHub
parent 400710d0cc
commit edf7622b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,7 @@ public object ContactUtils {
is Group -> "Group $name($id)"
is Friend -> "Friend $nick($id)"
is Member -> "Member $nameCardOrNick(${group.id}.$id)"
is Stranger -> "Stranger $nick($id)"
else -> error("Illegal type for ContactOrBot: ${this::class.qualifiedNameOrTip}")
}
}