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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
ffcfb494
Commit
ffcfb494
authored
Jun 4, 2024
by
Vitalii Nikitchyn
Committed by
Vitalii Nikitchyn
Jun 5, 2024
Browse files
Options
Downloads
Patches
Plain Diff
uri check bugfix
Change-Id: I84012f1b465e368932d61e0d63a669a98ee4d99e
parent
5cbc5ea9
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
jami-android/libjamiclient/src/main/kotlin/net/jami/services/AccountService.kt
+1
-3
1 addition, 3 deletions
...lient/src/main/kotlin/net/jami/services/AccountService.kt
with
1 addition
and
3 deletions
jami-android/libjamiclient/src/main/kotlin/net/jami/services/AccountService.kt
+
1
−
3
View file @
ffcfb494
...
@@ -932,9 +932,7 @@ class AccountService(
...
@@ -932,9 +932,7 @@ class AccountService(
}
}
fun
getConversationByUri
(
account
:
Account
,
conversationUri
:
Uri
):
Single
<
Conversation
>
=
fun
getConversationByUri
(
account
:
Account
,
conversationUri
:
Uri
):
Single
<
Conversation
>
=
if
(
conversationUri
.
isSwarm
)
if
(
conversationUri
.
isHexId
)
{
Single
.
just
(
account
.
getSwarm
(
conversationUri
.
rawRingId
)
!!
)
else
if
(
conversationUri
.
isHexId
)
{
val
conversation
=
account
.
getByUri
(
conversationUri
)
val
conversation
=
account
.
getByUri
(
conversationUri
)
if
(
conversation
!=
null
)
{
if
(
conversation
!=
null
)
{
Single
.
just
(
conversation
)
Single
.
just
(
conversation
)
...
...
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