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
GitLab 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
c4e86975
Commit
c4e86975
authored
6 years ago
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
chatview: check trust status before hiding add contact button
Change-Id: Idd1a3839315129c9ca4507d3e9a1d1079db4cc18
parent
8541ffa8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
callwidget.cpp
+4
-2
4 additions, 2 deletions
callwidget.cpp
with
4 additions
and
2 deletions
callwidget.cpp
+
4
−
2
View file @
c4e86975
...
...
@@ -839,8 +839,10 @@ CallWidget::setupChatView(const lrc::api::conversation::Info& convInfo)
auto
&
accountInfo
=
LRCInstance
::
accountModel
().
getAccountInfo
(
selectedAccountId
);
bool
isRINGAccount
=
accountInfo
.
profileInfo
.
type
==
lrc
::
api
::
profile
::
Type
::
RING
;
try
{
accountInfo
.
contactModel
->
getContact
(
contactURI
.
toStdString
());
auto
contactInfo
=
accountInfo
.
contactModel
->
getContact
(
contactURI
.
toStdString
());
if
(
contactInfo
.
isTrusted
)
{
isContact
=
true
;
}
}
catch
(...)
{}
ui
->
imNameLabel
->
setText
(
QString
(
tr
(
"%1"
,
"%1 is the contact username"
))
...
...
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