mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Introduce SignalNetwork, share PushServiceSocket.
This commit is contained in:
committed by
Cody Henthorne
parent
4e35906680
commit
00d20a1917
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright 2024 Signal Messenger, LLC
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package org.thoughtcrime.securesms.net
|
||||
|
||||
import org.thoughtcrime.securesms.dependencies.AppDependencies
|
||||
import org.whispersystems.signalservice.api.archive.ArchiveApi
|
||||
|
||||
/**
|
||||
* A convenient way to access network operations, similar to [org.thoughtcrime.securesms.database.SignalDatabase] and [org.thoughtcrime.securesms.keyvalue.SignalStore].
|
||||
*/
|
||||
object SignalNetwork {
|
||||
val archive: ArchiveApi
|
||||
get() = AppDependencies.archiveApi
|
||||
}
|
||||
Reference in New Issue
Block a user