Ensure delivery receipts are sent for 1:1 story replies and reactions.

This commit is contained in:
Alex Hart
2022-04-19 12:06:23 -03:00
parent 3426556a51
commit b041ed1510
2 changed files with 28 additions and 12 deletions

View File

@@ -14,6 +14,7 @@ sealed class ParentStoryId(protected val id: Long) {
fun asMessageId(): MessageId = MessageId(abs(id), true)
fun isGroupReply() = serialize() > 0
fun isDirectReply() = !isGroupReply()
/**
* A parent story who's child should be displayed in a group reply thread.