kopia lustrzana https://github.com/ryukoposting/Signal-Android
Revert "Change send method for text stories to cover link previews."
This reverts commit 0f9923e2619ec21eec3f2c4a97a3cc0eb4ab5e29.fork-5.53.8
rodzic
f1cb416bda
commit
6563ea970f
|
@ -52,17 +52,7 @@ object Stories {
|
||||||
@WorkerThread
|
@WorkerThread
|
||||||
fun sendTextStories(messages: List<OutgoingSecureMediaMessage>): Completable {
|
fun sendTextStories(messages: List<OutgoingSecureMediaMessage>): Completable {
|
||||||
return Completable.create { emitter ->
|
return Completable.create { emitter ->
|
||||||
messages.forEach { outgoingSecureMediaMessage ->
|
MessageSender.sendMediaBroadcast(ApplicationDependencies.getApplication(), messages, listOf(), listOf())
|
||||||
MessageSender.send(
|
|
||||||
ApplicationDependencies.getApplication(),
|
|
||||||
outgoingSecureMediaMessage,
|
|
||||||
-1L,
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
emitter.onComplete()
|
emitter.onComplete()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue