增加换肤功能
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// ConferenceInvitationState.swift
|
||||
// TUIRoomKit
|
||||
//
|
||||
// Created by jeremiawang on 2024/8/19.
|
||||
//
|
||||
|
||||
import RTCRoomEngine
|
||||
|
||||
struct ConferenceInvitationState {
|
||||
var invitationList: [TUIInvitation] = []
|
||||
}
|
||||
|
||||
extension TUIInvitation {
|
||||
convenience init(userInfo: UserInfo) {
|
||||
self.init()
|
||||
self.invitee = TUIUserInfo()
|
||||
self.invitee.userId = userInfo.userId
|
||||
self.invitee.userName = userInfo.userName
|
||||
self.invitee.avatarUrl = userInfo.avatarUrl
|
||||
}
|
||||
|
||||
static func ==(lhs: TUIInvitation, rhs: TUIInvitation) -> Bool {
|
||||
return lhs.status == rhs.status &&
|
||||
lhs.invitee.userId == rhs.invitee.userId &&
|
||||
lhs.invitee.userName == rhs.invitee.userName &&
|
||||
lhs.invitee.avatarUrl == rhs.invitee.avatarUrl
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user