Deleting entries on the river
|Reported by:||anirupdutta||Owned by:|
|Priority:||normal||Milestone:||Long Term Future Release|
I guess one important thing that is needed to be done is the option to delete items on the activity river similar to facebook.
In elgg 1.8 there is a function remove_from_river_by_id().However it means that suppose you friend a person on elgg.It will show up on yours as well as on your friends activity river.Now if you delete it,it will be gone from both yours as well as your friends activity river.However for some other cases like say you wrote a blog(like say you wish to hideit from your boss! so that he doesnot comes to know about it easily)i.e. you don't want to show it up in the activity river but still want to keep the blog view public the function would work.
One way to implement it would be to have a flag function.That is if a person other than the iniatiator say deletes thats river entry the
flag would be set to false for that particular river item and it would disappear from his post.Though am not sure whether it is the best way to implement that.