Ensure we only wake up a given user once (#2775)
Ensure we only wake up a given user once (#2775)

This ensures that the sync API notifier only wakes up a given user once
for a given stream position.
matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite