File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ public CharSequence getFormat() {
736736// return this.
737737// }
738738
739- /**
739+ /* old
740740 * Peers in ad-hoc networks have the tendency to establish two channels
741741 * simultaneously. It's due to the lack of a controlling server instance
742742 * and the - wanted - equality of each peers. We should suppress those
@@ -745,15 +745,24 @@ public CharSequence getFormat() {
745745 * @param peer
746746 * @return
747747 */
748+
749+ /**
750+ * Security / Permission module is due to undergo a deep review - returns always true until than.
751+ * @param peer
752+ * @return
753+ */
748754 private synchronized boolean permission2ProceedConversation (String peer ) {
755+ return true ;
749756 // if that peer is not in the list - go ahead
757+ /*
750758 boolean goAhead = !this.activePeers.contains(peer);
751759 if(goAhead) {
752760 // add that peer - an other call will fail.
753761 this.activePeers.add(peer);
754762 }
755763
756764 return goAhead;
765+ */
757766 }
758767
759768 /**
You can’t perform that action at this time.
0 commit comments