Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
5a5fe43b
Commit
5a5fe43b
authored
6 years ago
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
fix crash when conversation does not exist and contact is added
Change-Id: I44289cc4ac77dcb3ab0445f3bdd7ef06d0d01444
parent
ca027aba
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
callwidget.cpp
+3
-0
3 additions, 0 deletions
callwidget.cpp
with
3 additions
and
0 deletions
callwidget.cpp
+
3
−
0
View file @
5a5fe43b
...
...
@@ -626,6 +626,9 @@ void CallWidget::slotAccountChanged(int index)
auto
convModel
=
LRCInstance
::
getCurrentConversationModel
();
auto
currentConversation
=
Utils
::
getConversationFromUid
(
selectedConvUid
(),
*
convModel
);
if
(
currentConversation
==
convModel
->
allFilteredConversations
().
end
())
{
return
;
}
if
(
contactId
==
contactModel
.
get
()
->
getContact
((
*
currentConversation
).
participants
.
at
(
0
)).
profileInfo
.
uri
)
{
ui
->
messageView
->
clear
();
ui
->
messageView
->
printHistory
(
*
convModel
,
currentConversation
->
interactions
);
...
...
This diff is collapsed.
Click to expand it.
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