A cheap attempt at a native Bluesky client for Android

Models: a lone thread is always shown, a thread where root and post are the same author, isn't

the second case is essentially a threaded view of someone that replied to someone we follow

+10
+10
app/src/main/java/industries/geesawra/monarch/datalayer/Models.kt
··· 140 140 val (parent, _) = sd.parent() 141 141 val root = sd.root() 142 142 143 + if (parent?.authorHandle == sd.authorHandle && (root == null || root.authorHandle == sd.authorHandle)) { 144 + return@run false 145 + } 146 + 143 147 parent?.let { 148 + 144 149 val parentFollowing = parent.following 145 150 val rootFollowing = root?.following ?: false 151 + 152 + if (root?.authorHandle == sd.authorHandle && parentFollowing) { 153 + return@run false 154 + } 155 + 146 156 147 157 if (!parentFollowing && root == null) { 148 158 return@run false