mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed our own avatar not updated in meetings & conversations after being changed
This commit is contained in:
parent
a136b7da8b
commit
f29f5f9bc7
1 changed files with 7 additions and 0 deletions
|
|
@ -277,6 +277,13 @@ class AccountProfileViewModel @UiThread constructor() : GenericViewModel() {
|
|||
newModel.picturePath.postValue(path)
|
||||
accountModel.postValue(newModel)
|
||||
|
||||
// Also update friend & contact avatar model for ourselves
|
||||
val model = coreContext.contactsManager.getContactAvatarModelForAddress(
|
||||
params.identityAddress
|
||||
)
|
||||
model.friend.photo = path
|
||||
model.picturePath.postValue(path)
|
||||
|
||||
account.params = copy
|
||||
account.refreshRegister()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue