mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Change send method for text stories to cover link previews.
This commit is contained in:
committed by
Greyson Parrelli
parent
f7b9942f11
commit
f57e06677b
@@ -52,7 +52,17 @@ object Stories {
|
||||
@WorkerThread
|
||||
fun sendTextStories(messages: List<OutgoingSecureMediaMessage>): Completable {
|
||||
return Completable.create { emitter ->
|
||||
MessageSender.sendMediaBroadcast(ApplicationDependencies.getApplication(), messages, listOf(), listOf())
|
||||
messages.forEach { outgoingSecureMediaMessage ->
|
||||
MessageSender.send(
|
||||
ApplicationDependencies.getApplication(),
|
||||
outgoingSecureMediaMessage,
|
||||
-1L,
|
||||
false,
|
||||
null,
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
emitter.onComplete()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user