Thread decoration: add and branch isThreaded method

This commit is contained in:
ganfra 2023-09-13 12:05:50 +02:00
parent 30436e4406
commit 36fdf243cc
10 changed files with 23 additions and 5 deletions

View file

@ -147,6 +147,7 @@ fun aMessageContent(
body: String = "body",
inReplyTo: InReplyTo? = null,
isEdited: Boolean = false,
isThreaded: Boolean = false,
messageType: MessageType = TextMessageType(
body = body,
formatted = null
@ -155,6 +156,7 @@ fun aMessageContent(
body = body,
inReplyTo = inReplyTo,
isEdited = isEdited,
isThreaded = isThreaded,
type = messageType
)