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
9b275c4c
Unverified
Commit
9b275c4c
authored
3 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
smartlist's context menu: show Contact details only on contacts
GitLab:
#340
Change-Id: I4a0ce6c51351daa7eb81bd09785535bfcfc84981
parent
bbd3e743
No related branches found
Branches containing commit
Tags
beta/202402071743
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/constant/JamiStrings.qml
+1
-0
1 addition, 0 deletions
src/constant/JamiStrings.qml
src/mainview/components/ConversationSmartListContextMenu.qml
+2
-1
2 additions, 1 deletion
src/mainview/components/ConversationSmartListContextMenu.qml
with
3 additions
and
1 deletion
src/constant/JamiStrings.qml
+
1
−
0
View file @
9b275c4c
...
...
@@ -248,6 +248,7 @@ Item {
property
string
removeConversation
:
qsTr
(
"
Remove conversation
"
)
property
string
removeContact
:
qsTr
(
"
Remove contact
"
)
property
string
blockContact
:
qsTr
(
"
Block contact
"
)
property
string
blockSwarm
:
qsTr
(
"
Block swarm
"
)
property
string
contactDetails
:
qsTr
(
"
Contact details
"
)
// CallViewContextMenu
...
...
This diff is collapsed.
Click to expand it.
src/mainview/components/ConversationSmartListContextMenu.qml
+
2
−
1
View file @
9b275c4c
...
...
@@ -127,7 +127,7 @@ ContextMenuAutoLoader {
id
:
blockContact
canTrigger
:
!
hasCall
&&
contactType
!==
Profile
.
Type
.
SIP
itemName
:
JamiStrings
.
blockContact
itemName
:
!
(
mode
&&
mode
!==
Conversation
.
Mode
.
ONE_TO_ONE
&&
mode
!==
Conversation
.
Mode
.
NON_SWARM
)
?
JamiStrings
.
blockContact
:
JamiStrings
.
blockSwarm
iconSource
:
JamiResources
.
block_black_24dp_svg
addMenuSeparatorAfter
:
contactType
!==
Profile
.
Type
.
SIP
onClicked
:
MessagesAdapter
.
blockConversation
(
responsibleConvUid
)
...
...
@@ -136,6 +136,7 @@ ContextMenuAutoLoader {
id
:
contactDetails
canTrigger
:
contactType
!==
Profile
.
Type
.
SIP
&&
!
(
mode
&&
mode
!==
Conversation
.
Mode
.
ONE_TO_ONE
&&
mode
!==
Conversation
.
Mode
.
NON_SWARM
)
itemName
:
JamiStrings
.
contactDetails
iconSource
:
JamiResources
.
person_24dp_svg
onClicked
:
userProfile
.
open
()
...
...
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