mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-02 20:26:47 +01:00
Added doc
This commit is contained in:
parent
3cb99ff64f
commit
deba756598
@ -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…
x
Reference in New Issue
Block a user