Shamrock: fix troopowneruin

This commit is contained in:
WhiteChi 2023-11-26 22:34:00 +08:00
parent ae1e78b267
commit 7212938df3

View File

@ -318,7 +318,7 @@ internal object GroupSvc: BaseSvc() {
fun getOwner(groupId: String): Long {
val groupInfo = getGroupInfo(groupId)
return groupInfo.troopowneruin.toLong()
return groupInfo.troopowneruin?.toLong() ?: 0
}
fun isOwner(groupId: String): Boolean {