Skip to content

Commit

Permalink
Merge pull request oxen-io#3092 from yougotwill/fix/ses-1835/note_to_…
Browse files Browse the repository at this point in the history
…self_incoming

Note to Self messages from other devices should always be treated as outgoing
  • Loading branch information
Bilb authored May 3, 2024
2 parents 4eafe8c + 74986ec commit 6303288
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ts/receiver/dataMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ export async function handleSwarmDataMessage({
}

let msgModel =
isSyncedMessage || (envelope.senderIdentity && isUsFromCache(envelope.senderIdentity))
isSyncedMessage ||
(envelope.senderIdentity && isUsFromCache(envelope.senderIdentity)) ||
(envelope.source && isUsFromCache(envelope.source))
? createSwarmMessageSentFromUs({
conversationId: convoIdToAddTheMessageTo,
messageHash,
Expand Down

0 comments on commit 6303288

Please sign in to comment.