Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linphone-android
Commits
2c2beb57
Commit
2c2beb57
authored
5 months ago
by
Sylvain Berfini
Browse files
Options
Download
Patches
Plain Diff
Fixed duplicated contacts in start call / conversation list
parent
7b8b9270
master
feature/show_unsecure_conversation_event_at_top
feature/use_theme_main_color_for_icon_and_splashscreen
fix/insistent_notification
fix/telecom_call_stuck
fix/telecom_default_audio_endpoint
release/6.0
6.1.0-alpha
6.0.0
6.0.0-beta
1 merge request
!1521
Fixed duplicated contacts in start call / conversation list
Pipeline
#83147
passed with stage
in 5 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/org/linphone/ui/main/viewmodel/AddressSelectionViewModel.kt
+5
-2
...g/linphone/ui/main/viewmodel/AddressSelectionViewModel.kt
with
5 additions
and
2 deletions
app/src/main/java/org/linphone/ui/main/viewmodel/AddressSelectionViewModel.kt
+
5
−
2
View file @
2c2beb57
...
...
@@ -254,9 +254,12 @@ abstract class AddressSelectionViewModel @UiThread constructor() : DefaultAccoun
if
(
address
!=
null
)
{
val
friend
=
coreContext
.
contactsManager
.
findContactByAddress
(
address
)
if
(
friend
!=
null
)
{
val
found
=
contactsList
.
find
{
it
.
friend
==
friend
}
if
(
found
!=
null
)
continue
val
model
=
ConversationContactOrSuggestionModel
(
address
,
friend
=
friend
)
val
avatarModel
=
coreContext
.
contactsManager
.
getContactAvatarModelFor
Address
(
address
val
avatarModel
=
coreContext
.
contactsManager
.
getContactAvatarModelFor
Friend
(
friend
)
model
.
avatarModel
.
postValue
(
avatarModel
)
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets