mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1111528 - onpeerfound shouldn't be called when receiving NDEF from another peer. r=dimi
This commit is contained in:
parent
1a8404d058
commit
214d28576e
@ -471,7 +471,11 @@ Nfc.prototype = {
|
||||
delete message.sessionId;
|
||||
|
||||
if (SessionHelper.isP2PSession(sessionId)) {
|
||||
gMessageManager.onPeerEvent(NFC.PEER_EVENT_FOUND, message.sessionToken);
|
||||
if (message.records) {
|
||||
// TODO: Bug 1082493.
|
||||
} else {
|
||||
gMessageManager.onPeerEvent(NFC.PEER_EVENT_FOUND, message.sessionToken);
|
||||
}
|
||||
} else {
|
||||
gMessageManager.onTagFound(message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user