mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
Remove Done TODO
This commit is contained in:
parent
e5e67fbcbb
commit
7c33bf2742
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ internal class DefaultSendService @AssistedInject constructor(
|
||||||
|
|
||||||
override fun resendMediaMessage(localEcho: TimelineEvent): Cancelable? {
|
override fun resendMediaMessage(localEcho: TimelineEvent): Cancelable? {
|
||||||
if (localEcho.root.sendState.hasFailed()) {
|
if (localEcho.root.sendState.hasFailed()) {
|
||||||
// TODO this need a refactoring of attachment sending
|
|
||||||
val clearContent = localEcho.root.getClearContent()
|
val clearContent = localEcho.root.getClearContent()
|
||||||
val messageContent = clearContent?.toModel<MessageContent>() as? MessageWithAttachmentContent ?: return null
|
val messageContent = clearContent?.toModel<MessageContent>() as? MessageWithAttachmentContent ?: return null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue