Add more clear documentation

This commit is contained in:
ariskotsomitopoulos 2022-03-14 11:54:29 +01:00
parent f31b130b49
commit c2ec7cfa0f
2 changed files with 6 additions and 2 deletions

View File

@ -24,5 +24,9 @@ interface RelationContent {
val eventId: String? val eventId: String?
val inReplyTo: ReplyToContent? val inReplyTo: ReplyToContent?
val option: Int? val option: Int?
val isFallingBack: Boolean? // Thread fallback to differentiate replies within threads /**
* This flag indicates that the message should be displayed in the main
* timeline as a reply if needed
*/
val isFallingBack: Boolean?
} }

View File

@ -100,7 +100,7 @@ internal class EventEditor @Inject constructor(private val eventSenderProcessor:
eventReplied = originalTimelineEvent, eventReplied = originalTimelineEvent,
replyText = newBodyText, replyText = newBodyText,
autoMarkdown = false, autoMarkdown = false,
showInThread = false // Test that value showInThread = false
)?.copy( )?.copy(
eventId = replyToEdit.eventId eventId = replyToEdit.eventId
) ?: return NoOpCancellable ) ?: return NoOpCancellable