From deba7565982e17262334f26dea4b5633029917fd Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 28 May 2019 10:51:02 +0200 Subject: [PATCH] Added doc --- .../internal/session/room/send/LocalEchoEventFactory.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/send/LocalEchoEventFactory.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/send/LocalEchoEventFactory.kt index 886899ea..a810baac 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/send/LocalEchoEventFactory.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/send/LocalEchoEventFactory.kt @@ -258,6 +258,10 @@ internal class LocalEchoEventFactory(private val credentials: Credentials, priva return createEvent(roomId, content) } + /** + * Returns a pair of used for the fallback event representation + * in a reply message. + */ private fun bodyForReply(content: MessageContent?): Pair { when (content?.type) { MessageType.MSGTYPE_EMOTE,