Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Store ID of replied and original PM #7

Open
hvorragend opened this issue Aug 18, 2011 · 1 comment
Open

Store ID of replied and original PM #7

hvorragend opened this issue Aug 18, 2011 · 1 comment
Labels
Milestone

Comments

@hvorragend
Copy link
Member

problem

If you want to show a Conversation History for one PM, but there is no way, because there is no ID of the replied PM. For example see the Facebook Messaging system.
analysis

Two missing columns in the DB
enhancement recommendation

Store also the ID of the replied PM in the DB. It makes also sense to store the ID of the "original" top PM for all replies. So when showing the PM History, the select can be done like this: show me all replies for a specific PMid.

@Kaik
Copy link
Contributor

Kaik commented Dec 13, 2014

This can be done with new field 'conversation' with id of first message in conversation or false for first message. Using doctrine we can do array collection with left join to self I guess.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants