mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-14 07:10:09 +08:00
fix: ContactOrBot.render (#2010)
This commit is contained in:
parent
400710d0cc
commit
edf7622b0b
@ -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}")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user