Change the subscription state before notifying the application that a

Merged Andrea Gianarda requested to merge fix/event_state into master

NOTIFY has been received.

Merge request reports