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
f45fda36
Unverified
Commit
f45fda36
authored
3 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
messagelistview: show initial message
GitLab:
#340
Change-Id: I209fc67c1bf64cd91b8b6fb9bc1d5bd651b10eb3
parent
9b275c4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/commoncomponents/GeneratedMessageDelegate.qml
+2
-0
2 additions, 0 deletions
src/commoncomponents/GeneratedMessageDelegate.qml
src/mainview/components/MessageListView.qml
+12
-0
12 additions, 0 deletions
src/mainview/components/MessageListView.qml
with
14 additions
and
0 deletions
src/commoncomponents/GeneratedMessageDelegate.qml
+
2
−
0
View file @
f45fda36
...
...
@@ -30,6 +30,7 @@ Column {
property
bool
showTime
:
false
property
int
seq
:
MsgSeq
.
single
property
alias
font
:
textLabel
.
font
width
:
ListView
.
view
?
ListView
.
view
.
width
:
0
...
...
@@ -38,6 +39,7 @@ Column {
bottomPadding
:
12
Label
{
id
:
textLabel
width
:
parent
.
width
text
:
Body
horizontalAlignment
:
Qt
.
AlignHCenter
...
...
This diff is collapsed.
Click to expand it.
src/mainview/components/MessageListView.qml
+
12
−
0
View file @
f45fda36
...
...
@@ -223,6 +223,18 @@ JamiListView {
}
}
}
DelegateChoice
{
roleValue
:
Interaction
.
Type
.
INITIAL
GeneratedMessageDelegate
{
font.bold
:
true
Component.onCompleted
:
{
if
(
index
)
computeTimestampVisibility
(
this
,
index
)
else
Qt
.
callLater
(
computeTimestampVisibility
,
this
,
index
)
}
}
}
DelegateChoice
{
roleValue
:
Interaction
.
Type
.
DATA_TRANSFER
DataTransferMessageDelegate
{
...
...
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