mirai/mirai-core-api/src
Eritque arcus fea1d28488
[core] Support friend group (#2113)
* feat: support friend group

* remove unnecessary modifications

* toByteArray2

* support friendGroup, with api dump

* support rename, with api dump

* modify as required

* modify as required

* reverse

* doc

* FriendGroups

* api dump

* modify as required

* fix CI

* FriendGroup sync notice

* api dump

* modify as required

* immutable

* add friends: ContactList in FriendGroup

* more sync notice

* modify log content

* Change `FriendGroup.friends` to `Collection<Friend>`

* Fix `FriendGroup.friends.isEmpty()`

* modified as require, untested

* del count and online count in info

* change import

* fix missing import

* set @since 2.13 and modified as required

* modified as required

* modified as required

* doc

* change friendGroupId type to Int?

* api dumped

* change friendGroupId type to Int?

* introduce null to friendGroupId

* modified as required

* chore

* api dump

* chore: remark

* change int? to int

* api dump

* Update mirai-core-api/src/commonMain/kotlin/data/FriendGroups.kt

Co-authored-by: Him188 <Him188@mamoe.net>

* Move FriendGroup and FriendGroups to contact.friendgroup

* Make `Friend.friendGroup` not null

* add FriendGroups.default for default group

* Redesign FriendGroup interface

Co-authored-by: Karlatemp <kar@kasukusakura.com>
Co-authored-by: Him188 <Him188@mamoe.net>
2022-08-26 16:56:09 +08:00
..
androidMain/kotlin Commonize projects: mirai-core series, and mirai-console-compiler-annotations 2022-07-20 00:30:16 +08:00
androidTest/kotlin Implement mirai-core for native 2022-07-20 00:30:16 +08:00
commonMain/kotlin [core] Support friend group (#2113) 2022-08-26 16:56:09 +08:00
commonTest Use kotlinx-coroutines-test 2022-07-20 00:30:16 +08:00
jvmBaseMain/kotlin Mark ExternalResource.isAutoClose, ExternalResource.useAutoClose and ExternalResource.runAutoClose stable 2022-08-16 10:26:45 +08:00
jvmBaseTest/kotlin Remove MiraiLogger.subLogger in mirai-core-api to overcome declaration clash on native 2022-07-20 00:30:16 +08:00
jvmMain Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain 2022-07-20 00:30:16 +08:00
jvmTest/kotlin Implement multiplatform modules 2022-07-20 00:30:16 +08:00
main Rearrange protocol implementations 2020-11-01 15:07:32 +08:00
nativeMain/kotlin Mark ExternalResource.isAutoClose, ExternalResource.useAutoClose and ExternalResource.runAutoClose stable 2022-08-16 10:26:45 +08:00