Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
telemersion
Telemersive Gateway
Commits
6e949e65
Commit
6e949e65
authored
Apr 24, 2021
by
maybites
Browse files
fix for fix :-/
parent
cc7c50e8
Changes
1
Show whitespace changes
Inline
Side-by-side
code/peerList.js
View file @
6e949e65
...
...
@@ -62,9 +62,11 @@ function append(_peerName, _peerID, _peerLocalIPv4, _peerPublicIPv4)
if
(
myPeerList
.
contains
(
_peerID
)){
// we make a sanity check if nothing has changed
var
localPeer
=
myPeerList
.
get
(
_peerID
);
if
(
localPeer
.
get
(
"
verified
"
)
!==
3
){
localPeer
.
set
(
"
verified
"
,
1
);
// this indicates an existing peer
myPeerList
.
set
(
_peerID
,
localPeer
);
}
}
// since in the last step a peer might have been removed because of a change we test again
if
(
!
myPeerList
.
contains
(
_peerID
)){
dpost
(
"
append peer (
"
+
_peerName
+
"
)
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment