mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 06:28:45 +03:00
Add missed return
Change-Id: I0a01f3eb7ab8ffef965736c6aa0e03909914358c
This commit is contained in:
parent
07288c5458
commit
200370912a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ internal class TokenChunkEventPersistor @Inject constructor(
|
|||
if (receivedChunk.events.isEmpty() && receivedChunk.start == receivedChunk.end) {
|
||||
Timber.w("Discard empty chunk with identical start/end token ${receivedChunk.start}")
|
||||
|
||||
if (receivedChunk.hasMore()) {
|
||||
return if (receivedChunk.hasMore()) {
|
||||
Result.SHOULD_FETCH_MORE
|
||||
} else {
|
||||
Result.REACHED_END
|
||||
|
|
Loading…
Reference in a new issue