Fix reply within thread edition

This commit is contained in:
ariskotsomitopoulos 2022-03-08 14:50:27 +02:00
parent 557fd7eacf
commit 8c6902aa23
2 changed files with 3 additions and 3 deletions

View File

@ -52,13 +52,13 @@ data class RoomEventFilter(
* A list of relation types which must be exist pointing to the event being filtered.
* If this list is absent then no filtering is done on relation types.
*/
// @Json(name = "relation_types") val relationTypes: List<String>? = null,
// @Json(name = "related_by_rel_types") val relationTypes: List<String>? = null,
@Json(name = "io.element.relation_types") val relationTypes: List<String>? = null, // To be replaced with the above line after the release
/**
* A list of senders of relations which must exist pointing to the event being filtered.
* If this list is absent then no filtering is done on relation types.
*/
// @Json(name = "relation_senders") val relationSenders: List<String>? = null,
// @Json(name = "related_by_senders") val relationSenders: List<String>? = null,
@Json(name = "io.element.relation_senders") val relationSenders: List<String>? = null, // To be replaced with the above line after the release
/**

View File

@ -172,7 +172,7 @@ internal class DefaultRelationService @AssistedInject constructor(
replyText = replyInThreadText,
autoMarkdown = autoMarkdown,
rootThreadEventId = rootThreadEventId,
showInThread = false
showInThread = true
)
?.also {
saveLocalEcho(it)