Do not use contact address but identity address when creating chat room from contact or history
This commit is contained in:
parent
7e391ca518
commit
4723c5d9d0
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ class LinphoneUtils {
|
||||||
|
|
||||||
val participants = arrayOf(participant)
|
val participants = arrayOf(participant)
|
||||||
|
|
||||||
return core.searchChatRoom(params, defaultAccount?.contactAddress, null, participants)
|
return core.searchChatRoom(params, defaultAccount?.params?.identityAddress, null, participants)
|
||||||
?: core.createChatRoom(params, defaultAccount?.contactAddress, participants)
|
?: core.createChatRoom(params, defaultAccount?.params?.identityAddress, participants)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun deleteFilesAttachedToEventLog(eventLog: EventLog) {
|
fun deleteFilesAttachedToEventLog(eventLog: EventLog) {
|
||||||
|
|
Loading…
Reference in a new issue