You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that not having reactions in lastMessage would not be a big deal if when we request the message from the messages API it returned reactions: [] for an empty list. Today it doesn't return the property.
What's the problem? The only way we know today if the reactions list is empty or not is because the property is not being returned (both APIs). Problem is that if we don't have that on the lastMessage, it will remove the reactions from the database and then when the user opens the list of message the reactions are gone.
My question for you guys is: can we apply any of this proposals in order to get this consistent?
Always return reactions in a message object;
Always return reactions in the list of messages, even in the list of reactions is empty.
The text was updated successfully, but these errors were encountered:
tassoevan
changed the title
[BUG] lastMessage object does not return reactions and I explain why this is a problem
lastMessage object does not return reactions and I explain why this is a problem
Oct 2, 2018
Description:
Here's a lastMessage with reactions coming from the rooms API endpoint:
Here's the message object, when coming from the list of messages:
The problem is that not having reactions in lastMessage would not be a big deal if when we request the message from the messages API it returned
reactions: []
for an empty list. Today it doesn't return the property.What's the problem? The only way we know today if the reactions list is empty or not is because the property is not being returned (both APIs). Problem is that if we don't have that on the lastMessage, it will remove the reactions from the database and then when the user opens the list of message the reactions are gone.
My question for you guys is: can we apply any of this proposals in order to get this consistent?
The text was updated successfully, but these errors were encountered: