mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: fix troopowneruin
This commit is contained in:
parent
ae1e78b267
commit
7212938df3
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user