mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 18:55:12 +00:00
Revert "Change send method for text stories to cover link previews."
This reverts commit 0f9923e2619ec21eec3f2c4a97a3cc0eb4ab5e29.
This commit is contained in:
committed by
Greyson Parrelli
parent
f1cb416bda
commit
6563ea970f
@@ -52,17 +52,7 @@ object Stories {
|
||||
@WorkerThread
|
||||
fun sendTextStories(messages: List<OutgoingSecureMediaMessage>): Completable {
|
||||
return Completable.create { emitter ->
|
||||
messages.forEach { outgoingSecureMediaMessage ->
|
||||
MessageSender.send(
|
||||
ApplicationDependencies.getApplication(),
|
||||
outgoingSecureMediaMessage,
|
||||
-1L,
|
||||
false,
|
||||
null,
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
MessageSender.sendMediaBroadcast(ApplicationDependencies.getApplication(), messages, listOf(), listOf())
|
||||
emitter.onComplete()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user