Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
a4300308
Commit
a4300308
authored
1 year ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
contactmodel: check if removed before adding
Change-Id: I61b3773539bf6a0774ea487e4f5aae74bd2bc635
parent
815d3241
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/libclient/contactmodel.cpp
+1
-1
1 addition, 1 deletion
src/libclient/contactmodel.cpp
with
1 addition
and
1 deletion
src/libclient/contactmodel.cpp
+
1
−
1
View file @
a4300308
...
...
@@ -265,7 +265,7 @@ ContactModel::addContact(contact::Info contactInfo)
// if contactInfo is already a contact for the daemon, type should be equals to RING
// if the user add a temporary item for a SIP account, should be directly transformed
if
(
!
details
.
empty
()
if
(
(
!
details
.
empty
()
&&
details
.
value
(
"removed"
)
==
"0"
)
||
(
profile
.
type
==
profile
::
Type
::
TEMPORARY
&&
owner
.
profileInfo
.
type
==
profile
::
Type
::
SIP
))
profile
.
type
=
owner
.
profileInfo
.
type
;
...
...
This diff is collapsed.
Click to expand it.
Maxim Cournoyer
@Apteryks
mentioned in issue
#1503 (closed)
·
1 year ago
mentioned in issue
#1503 (closed)
mentioned in issue #1503
Toggle commit list
Preview
0%
Loading
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