Remove Group.newAnonymousMember

This commit is contained in:
Him188 2021-06-28 19:19:57 +08:00
parent 089d0eed8c
commit d6b4bb9fb5

View File

@ -319,14 +319,6 @@ internal fun Group.newNormalMember(memberInfo: MemberInfo): NormalMemberImpl {
)
}
internal fun Group.newAnonymousMember(memberInfo: MemberInfo): AnonymousMemberImpl? {
this.checkIsGroupImpl()
memberInfo.anonymousId?.let {
return AnonymousMemberImpl(this, this.coroutineContext, memberInfo)
}
return null
}
internal fun GroupImpl.newAnonymous(name: String, id: String): AnonymousMemberImpl {
return AnonymousMemberImpl(
this, this.coroutineContext,