mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
cleaning
This commit is contained in:
parent
886cc7fb5b
commit
02c2fea99e
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ class Graph {
|
||||||
|
|
||||||
while (stack.isNotEmpty()) {
|
while (stack.isNotEmpty()) {
|
||||||
// Timber.w("VAL: current stack: ${stack.reversed().joinToString { it.name }}")
|
// Timber.w("VAL: current stack: ${stack.reversed().joinToString { it.name }}")
|
||||||
val vertex = stack.peek()
|
val vertex = stack.peek() ?: break
|
||||||
// peek a path to follow
|
// peek a path to follow
|
||||||
var destination: GraphNode? = null
|
var destination: GraphNode? = null
|
||||||
edgesOf(vertex).forEach {
|
edgesOf(vertex).forEach {
|
||||||
|
|
|
@ -304,7 +304,7 @@ internal class RoomSummaryUpdater @Inject constructor(
|
||||||
entry.value.forEach { child ->
|
entry.value.forEach { child ->
|
||||||
RoomSummaryEntity.where(realm, child.roomId).findFirst()?.let { childSum ->
|
RoomSummaryEntity.where(realm, child.roomId).findFirst()?.let { childSum ->
|
||||||
|
|
||||||
Timber.w("## SPACES: ${childSum.name} is ${childSum.roomId} fc: ${childSum.flattenParentIds}")
|
// Timber.w("## SPACES: ${childSum.name} is ${childSum.roomId} fc: ${childSum.flattenParentIds}")
|
||||||
// var allParents = childSum.flattenParentIds ?: ""
|
// var allParents = childSum.flattenParentIds ?: ""
|
||||||
if (childSum.flattenParentIds == null) childSum.flattenParentIds = ""
|
if (childSum.flattenParentIds == null) childSum.flattenParentIds = ""
|
||||||
flattenParentsIds.forEach {
|
flattenParentsIds.forEach {
|
||||||
|
|
Loading…
Reference in a new issue