Skip to content

Commit

Permalink
fix: check deviceId
Browse files Browse the repository at this point in the history
  • Loading branch information
agazso committed Oct 25, 2023
1 parent 08528d1 commit 60743ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/adapters/waku/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ export default class WakuAdapter implements Adapter {
adapter: WakuObjectAdapter,
) {
// ignore messages coming from own address
if (message.fromAddress === address) {
if (message.fromAddress === address && message.deviceId === this.deviceId) {
return
}

Expand Down

0 comments on commit 60743ae

Please sign in to comment.