innoq / statuses

statuses
Apache License 2.0
13 stars 14 forks source link

remove-update does not remove the correct item from a conversation #81

Open aheusingfeld opened 9 years ago

aheusingfeld commented 9 years ago

The remove-update function doesn't remove a specific id from a conversation but instead removes the last entry:

new-conv (pop conv)

As you can reply to any post in a conversation, the conversation can have multiple "ends" and not only one. As each "end" (post without a reply) can be deleted, the remove-update function needs to be able to remove a specific id.