Fix receiving cp/paste offer

This commit is contained in:
Arlo Breault 2016-03-18 13:11:45 -07:00
parent df2ea126c8
commit 2ac12c5b8d

View file

@ -191,7 +191,11 @@ Signalling =
if !desc if !desc
log 'Invalid SDP.' log 'Invalid SDP.'
return false return false
snowflake.receiveOffer recv if desc pair = snowflake.nextAvailableProxyPair()
if !pair
log 'At client capacity.'
return false
snowflake.receiveOffer pair, msg
# Log to both console and UI if applicable. # Log to both console and UI if applicable.
log = (msg) -> log = (msg) ->