[presence] Cleanup

* Remove all trailing whitespace.
* Rename `_this` to `self` for consistency.