mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Only display tilted image for My Story.
This commit is contained in:
committed by
Cody Henthorne
parent
768e170ed4
commit
798f3a7b0e
@@ -79,9 +79,9 @@ class StoriesLandingRepository(context: Context) {
|
||||
hasRepliesFromSelf = messageRecords.any { SignalDatabase.mms.hasSelfReplyInStory(it.id) },
|
||||
isHidden = sender.shouldHideStory(),
|
||||
primaryStory = ConversationMessage.ConversationMessageFactory.createWithUnresolvedData(context, messageRecords.first()),
|
||||
secondaryStory = messageRecords.drop(1).firstOrNull()?.let {
|
||||
secondaryStory = if (sender.isMyStory) messageRecords.drop(1).firstOrNull()?.let {
|
||||
ConversationMessage.ConversationMessageFactory.createWithUnresolvedData(context, it)
|
||||
}
|
||||
} else null
|
||||
)
|
||||
|
||||
emitter.onNext(itemData)
|
||||
|
||||
Reference in New Issue
Block a user