Commit cc171a87 authored by Him188's avatar Him188

Fix wrong equals operator

parent 213dbd6b
...@@ -409,7 +409,7 @@ internal inline class SingleMessageChainImpl( ...@@ -409,7 +409,7 @@ internal inline class SingleMessageChainImpl(
override fun remove() = throw UnsupportedOperationException() 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 override val size: Int get() = 1
// endregion // endregion
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment