openscholar/openscholar — pull request #421 by amitaibu (2012-09-27 09:41:03+00:00)
Title: Make "OS activity" VSite aware, and fix saving last Message

* Added ```os_activity_get_last_message()``` to get the last Message ID, based on a given VSite.
* Set the ```og_context()``` based on space -- this will allow us to use OG-context's Views default argument. [This](https://skitch.com/amitaibu/eisc3/os-activity-message-local) allows us to make the same ```/activity``` view work inside and outside of a space context
* Fixed saving the last Message ID properly.

This refs #303