Display organizer SIP URI instead of conference factory URI in group call incoming call notification

This commit is contained in:
Sylvain Berfini 2022-06-13 11:25:11 +02:00
parent ee4083389b
commit 0e0fd6106c
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ class Api26Compatibility {
} else {
contact = null
displayName = conferenceInfo.subject ?: context.getString(R.string.conference)
address = LinphoneUtils.getDisplayableAddress(call.remoteAddress)
address = LinphoneUtils.getDisplayableAddress(conferenceInfo.organizer)
roundPicture = BitmapFactory.decodeResource(context.resources, R.drawable.voip_multiple_contacts_avatar_alt)
info = context.getString(R.string.incoming_group_call_notification_title)
Log.i("[Notifications Manager] Displaying incoming group call notification with subject $displayName for remote contact address $remoteContact")

View file

@ -68,7 +68,7 @@ class XiaomiCompatibility {
} else {
contact = null
displayName = conferenceInfo.subject ?: context.getString(R.string.conference)
address = LinphoneUtils.getDisplayableAddress(call.remoteAddress)
address = LinphoneUtils.getDisplayableAddress(conferenceInfo.organizer)
roundPicture = BitmapFactory.decodeResource(context.resources, R.drawable.voip_multiple_contacts_avatar_alt)
info = context.getString(R.string.incoming_group_call_notification_title)
Log.i("[Notifications Manager] Displaying incoming group call notification with subject $displayName and remote contact address $remoteContact")