mozilla-services/loop-server — pull request #227 by ametaireau (2014-10-20 16:07:37+00:00)
Title: Bug 1080491 - send "answered-elsewhere" state.

In order to implement that, each session stores if it is connected or not, and
discards the "connection" messages sent trough the pubsub in case they are.

All the other ones (the ones which aren't connected) will receive an update
with "terminated" and a reason of "answered-elsewhere", as the spec specifies.

https://bugzilla.mozilla.org/show_bug.cgi?id=1080491