Send actual quote author in story direct reply.
This commit is contained in:
parent
631720f111
commit
3b17a41415
2 changed files with 1 additions and 2 deletions
|
@ -1585,7 +1585,7 @@ public final class MessageContentProcessor {
|
|||
parentStoryId = new ParentStoryId.GroupReply(storyMessageId.getId());
|
||||
} else if (groupStory || SignalDatabase.storySends().canReply(senderRecipient.getId(), storyContext.getSentTimestamp())) {
|
||||
parentStoryId = new ParentStoryId.DirectReply(storyMessageId.getId());
|
||||
quoteModel = new QuoteModel(storyContext.getSentTimestamp(), groupStory ? threadRecipient.getId() : storyAuthorRecipient, "", false, story.getSlideDeck().asAttachments(), Collections.emptyList());
|
||||
quoteModel = new QuoteModel(storyContext.getSentTimestamp(), storyAuthorRecipient, "", false, story.getSlideDeck().asAttachments(), Collections.emptyList());
|
||||
expiresInMillis = TimeUnit.SECONDS.toMillis(message.getExpiresInSeconds());
|
||||
} else {
|
||||
warn(content.getTimestamp(), "Story has replies disabled. Dropping reply.");
|
||||
|
|
|
@ -37,7 +37,6 @@ class StoryDirectReplyRepository(context: Context) {
|
|||
}
|
||||
|
||||
val quoteAuthor: Recipient = when {
|
||||
groupDirectReplyRecipientId != null -> message.recipient
|
||||
message.isOutgoing -> Recipient.self()
|
||||
else -> message.individualRecipient
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue