hull/hull-js — pull request #158 by xcambar (2014-04-28 09:39:54+00:00)
Title: Prevents emitting user update events on false positives

Some requests don't sent Hull-User-Id.
In order to not reload the page in such a case, we first double check by using the newly fetched credentials and comparing IDs.

Reproducible in the admin, with : `Hull.api('users', {}, 'put')`