mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Ensure sent group stories are included in the My Stories item.
This commit is contained in:
committed by
Cody Henthorne
parent
b32fe003b2
commit
14f9a3c155
@@ -829,7 +829,8 @@ public class MmsDatabase extends MessageDatabase {
|
||||
while (cursor.moveToNext()) {
|
||||
results.add(new StoryResult(RecipientId.from(CursorUtil.requireLong(cursor, ThreadDatabase.RECIPIENT_ID)),
|
||||
CursorUtil.requireLong(cursor, "mms_id"),
|
||||
CursorUtil.requireLong(cursor, "sent_timestamp")));
|
||||
CursorUtil.requireLong(cursor, "sent_timestamp"),
|
||||
CursorUtil.requireBoolean(cursor, "is_outgoing")));
|
||||
}
|
||||
|
||||
return results;
|
||||
|
||||
@@ -5,5 +5,6 @@ import org.thoughtcrime.securesms.recipients.RecipientId
|
||||
class StoryResult(
|
||||
val recipientId: RecipientId,
|
||||
val messageId: Long,
|
||||
val messageSentTimestamp: Long
|
||||
val messageSentTimestamp: Long,
|
||||
val isOutgoing: Boolean
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user