1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-02 05:00:35 +08:00

Fix wrong equals operator

This commit is contained in:
Him188 2020-01-17 18:48:51 +08:00
parent 213dbd6b44
commit cc171a87b4

View File

@ -409,7 +409,7 @@ internal inline class SingleMessageChainImpl(
override fun remove() = throw UnsupportedOperationException()
}
override operator fun contains(element: Message): Boolean = element === delegate
override operator fun contains(element: Message): Boolean = element == delegate
override val size: Int get() = 1
// endregion
}