Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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-android
Commits
2e3aa69b
Commit
2e3aa69b
authored
2 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
conversation: use title for unknown contact header
Change-Id: Ib272acb647fa6f202eaa1893ee2fcb7142210c9a
parent
50bc463b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ring-android/libjamiclient/src/main/kotlin/net/jami/conversation/ConversationPresenter.kt
+2
-1
2 additions, 1 deletion
...ain/kotlin/net/jami/conversation/ConversationPresenter.kt
with
2 additions
and
1 deletion
ring-android/libjamiclient/src/main/kotlin/net/jami/conversation/ConversationPresenter.kt
+
2
−
1
View file @
2e3aa69b
...
...
@@ -33,6 +33,7 @@ import net.jami.model.Account.ComposingStatus
import
net.jami.model.Conversation.ElementStatus
import
net.jami.mvp.RootPresenter
import
net.jami.services.*
import
net.jami.smartlist.ConversationItemViewModel
import
net.jami.utils.Log
import
net.jami.utils.VCardUtils
import
java.io.File
...
...
@@ -132,7 +133,7 @@ class ConversationPresenter @Inject constructor(
val
uri
=
conversation
.
uri
val
req
=
account
.
getRequest
(
uri
)
if
(
req
==
null
)
{
view
.
switchToUnknownView
(
uri
.
rawUriString
)
view
.
switchToUnknownView
(
ConversationItemViewModel
.
getTitle
(
conversation
,
contacts
)
)
}
else
{
view
.
switchToIncomingTrustRequestView
(
req
.
displayName
)
}
...
...
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