This commit is contained in:
Brice 2020-12-17 16:52:22 +11:00
parent 9304971e50
commit 873e0099f9
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ package org.thoughtcrime.securesms.attachments
import android.content.Context
import com.google.protobuf.ByteString
import org.session.libsession.database.MessageDataProvider
import org.session.libsession.database.dto.AttachmentState
import org.session.libsession.messaging.sending_receiving.attachments.AttachmentState
import org.session.libsession.messaging.sending_receiving.attachments.SessionServiceAttachmentPointer
import org.session.libsession.messaging.sending_receiving.attachments.SessionServiceAttachmentStream
import org.session.libsignal.libsignal.util.guava.Optional

View File

@ -12,7 +12,7 @@ abstract class SessionServiceAttachment protected constructor(val contentType: S
var isImage: Boolean = false
var isVideo: Boolean = false
var isAudio: Boolean = false
var url: String? = null
var url: String = ""
var key: ByteString? = null
abstract fun isStream(): Boolean