mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 15:48:09 +00:00
Add all ChatConversation callbacks (delegates)
This commit is contained in:
parent
b57ae83662
commit
dfa697e0d7
1 changed files with 11 additions and 0 deletions
|
|
@ -529,6 +529,17 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
}
|
||||
}
|
||||
|
||||
func updateParticipantLabel(){
|
||||
let participants = chatRoom?.participants
|
||||
participantsGroupLabel.text = ""
|
||||
participants?.forEach{ participant in
|
||||
if participantsGroupLabel.text != "" {
|
||||
participantsGroupLabel.text = participantsGroupLabel.text! + ", "
|
||||
}
|
||||
participantsGroupLabel.text = participantsGroupLabel.text! + FastAddressBook.displayName(for: linphone_participant_get_address(participant.getCobject))
|
||||
}
|
||||
}
|
||||
|
||||
func onCallClick(cChatRoom: OpaquePointer?) {
|
||||
let firstParticipant = ChatConversationViewModel.sharedModel.chatRoom?.participants.first
|
||||
let addr = (firstParticipant != nil) ? linphone_participant_get_address(firstParticipant?.getCobject) : linphone_chat_room_get_peer_address(cChatRoom);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue