Added doc

This commit is contained in:
Valere 2019-05-28 10:51:02 +02:00
parent 3cb99ff64f
commit deba756598

View File

@ -258,6 +258,10 @@ internal class LocalEchoEventFactory(private val credentials: Credentials, priva
return createEvent(roomId, content)
}

/**
* Returns a pair of <Plain Text, Formatted Text?> used for the fallback event representation
* in a reply message.
*/
private fun bodyForReply(content: MessageContent?): Pair<String, String?> {
when (content?.type) {
MessageType.MSGTYPE_EMOTE,