Remove Done TODO
This commit is contained in:
parent
e5e67fbcbb
commit
7c33bf2742
|
@ -147,7 +147,6 @@ internal class DefaultSendService @AssistedInject constructor(
|
|||
|
||||
override fun resendMediaMessage(localEcho: TimelineEvent): Cancelable? {
|
||||
if (localEcho.root.sendState.hasFailed()) {
|
||||
// TODO this need a refactoring of attachment sending
|
||||
val clearContent = localEcho.root.getClearContent()
|
||||
val messageContent = clearContent?.toModel<MessageContent>() as? MessageWithAttachmentContent ?: return null
|
||||
|
||||
|
|
Loading…
Reference in New Issue