mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +03:00
Added doc
This commit is contained in:
parent
3cb99ff64f
commit
deba756598
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue