Skip to content

Commit 39074fb

Browse files
committed
bah
1 parent 5d3461c commit 39074fb

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎v3/js/opt-frontend.js‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ function initTogetherJS() {
148148
// learner receives a sync request from tutor and responds by
149149
// sending its current app state
150150
TogetherJS.hub.on("requestSync", function(msg) {
151-
if (!msg.sameUrl) {
152-
return;
153-
}
154-
155151
// only a learner should receive sync requests from a tutor
156152
if (isTutor) {
157153
return;
@@ -166,10 +162,6 @@ function initTogetherJS() {
166162
// TODO: what happens if more than one learner sends state to tutor?
167163
// i suppose the last one wins at this point :/
168164
TogetherJS.hub.on("myAppState", function(msg) {
169-
if (!msg.sameUrl) {
170-
return;
171-
}
172-
173165
// only a tutor should handle receiving an app state from a learner
174166
if (!isTutor) {
175167
return;

0 commit comments

Comments
 (0)