mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Move SecretShareRequest
to api package
This commit is contained in:
parent
e8bfbdd71a
commit
e91541333c
5 changed files with 5 additions and 6 deletions
|
@ -19,7 +19,6 @@ package org.matrix.android.sdk.api.session.crypto.model
|
||||||
import org.matrix.android.sdk.api.session.events.model.Event
|
import org.matrix.android.sdk.api.session.events.model.Event
|
||||||
import org.matrix.android.sdk.api.session.events.model.toModel
|
import org.matrix.android.sdk.api.session.events.model.toModel
|
||||||
import org.matrix.android.sdk.internal.crypto.IncomingShareRequestCommon
|
import org.matrix.android.sdk.internal.crypto.IncomingShareRequestCommon
|
||||||
import org.matrix.android.sdk.internal.crypto.model.rest.SecretShareRequest
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IncomingSecretShareRequest class defines the incoming secret keys request.
|
* IncomingSecretShareRequest class defines the incoming secret keys request.
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.matrix.android.sdk.internal.crypto.model.rest
|
|
||||||
|
package org.matrix.android.sdk.api.session.crypto.model
|
||||||
|
|
||||||
import com.squareup.moshi.Json
|
import com.squareup.moshi.Json
|
||||||
import com.squareup.moshi.JsonClass
|
import com.squareup.moshi.JsonClass
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class representing a room key request content
|
* Class representing a room key request content
|
|
@ -29,7 +29,7 @@ import org.matrix.android.sdk.api.session.events.model.toContent
|
||||||
import org.matrix.android.sdk.internal.SessionManager
|
import org.matrix.android.sdk.internal.SessionManager
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.RoomKeyShareRequest
|
import org.matrix.android.sdk.api.session.crypto.model.RoomKeyShareRequest
|
||||||
import org.matrix.android.sdk.internal.crypto.model.rest.SecretShareRequest
|
import org.matrix.android.sdk.api.session.crypto.model.SecretShareRequest
|
||||||
import org.matrix.android.sdk.internal.crypto.store.IMXCryptoStore
|
import org.matrix.android.sdk.internal.crypto.store.IMXCryptoStore
|
||||||
import org.matrix.android.sdk.internal.crypto.tasks.SendToDeviceTask
|
import org.matrix.android.sdk.internal.crypto.tasks.SendToDeviceTask
|
||||||
import org.matrix.android.sdk.internal.crypto.tasks.createUniqueTxnId
|
import org.matrix.android.sdk.internal.crypto.tasks.createUniqueTxnId
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.matrix.android.sdk.api.session.events.model.content.SecretSendEventCo
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.ForwardedRoomKeyContent
|
import org.matrix.android.sdk.api.session.crypto.model.ForwardedRoomKeyContent
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.RoomKeyShareRequest
|
import org.matrix.android.sdk.api.session.crypto.model.RoomKeyShareRequest
|
||||||
import org.matrix.android.sdk.internal.crypto.model.rest.SecretShareRequest
|
import org.matrix.android.sdk.api.session.crypto.model.SecretShareRequest
|
||||||
import org.threeten.bp.format.DateTimeFormatter
|
import org.threeten.bp.format.DateTimeFormatter
|
||||||
|
|
||||||
class GossipingEventsSerializer {
|
class GossipingEventsSerializer {
|
||||||
|
|
|
@ -34,7 +34,7 @@ import org.matrix.android.sdk.api.session.events.model.content.SecretSendEventCo
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.ForwardedRoomKeyContent
|
import org.matrix.android.sdk.api.session.crypto.model.ForwardedRoomKeyContent
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
import org.matrix.android.sdk.api.session.crypto.model.GossipingToDeviceObject
|
||||||
import org.matrix.android.sdk.api.session.crypto.model.RoomKeyShareRequest
|
import org.matrix.android.sdk.api.session.crypto.model.RoomKeyShareRequest
|
||||||
import org.matrix.android.sdk.internal.crypto.model.rest.SecretShareRequest
|
import org.matrix.android.sdk.api.session.crypto.model.SecretShareRequest
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class GossipingTrailPagedEpoxyController @Inject constructor(
|
class GossipingTrailPagedEpoxyController @Inject constructor(
|
||||||
|
|
Loading…
Reference in a new issue