Fix a bug introduced in v1.22.0rc1 where presence events were not properly passed to application services.