mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-04 21:17:32 +01:00
Fix lint error.
This commit is contained in:
parent
9b7e329000
commit
f4bdaf6151
@ -626,7 +626,9 @@ internal class LocalEchoEventFactory @Inject constructor(
|
||||
MessageType.MSGTYPE_AUDIO -> return TextContent("sent an audio file.")
|
||||
MessageType.MSGTYPE_IMAGE -> return TextContent("sent an image.")
|
||||
MessageType.MSGTYPE_VIDEO -> return TextContent("sent a video.")
|
||||
MessageType.MSGTYPE_POLL_START -> return TextContent((content as? MessagePollContent)?.getBestPollCreationInfo()?.question?.getBestQuestion() ?: "")
|
||||
MessageType.MSGTYPE_POLL_START -> {
|
||||
return TextContent((content as? MessagePollContent)?.getBestPollCreationInfo()?.question?.getBestQuestion() ?: "")
|
||||
}
|
||||
else -> return TextContent(content?.body ?: "")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user