mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-24 02:40:13 +08:00
Make ContactList.delegate internal
This commit is contained in:
parent
8226b04602
commit
e4e519eb36
@ -59,7 +59,7 @@ inline fun <R> Contact.withSession(block: BotSession.() -> R): R {
|
||||
/**
|
||||
* 只读联系人列表
|
||||
*/
|
||||
class ContactList<C : Contact> internal constructor(private val delegate: MutableContactList<C>) : Map<UInt, C> by delegate {
|
||||
class ContactList<C : Contact> internal constructor(internal val delegate: MutableContactList<C>) : Map<UInt, C> by delegate {
|
||||
override fun toString(): String = delegate.toString()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user