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
Currently, creating a new message and updating a message incurs (via _submessagesChanged) a search for all messages within the same thread, to recompute submessageCount and submessageLastUpdate. But these quantities are easy to revise locally, incrementing count in the case of messageNew, and in both cases, maxing the root's current submessageLastUpdate with the updated message's date, both assuming the message is public. (When changing parents, and upon server restart, we should still use _submessagesChanged.)
The text was updated successfully, but these errors were encountered:
Currently, creating a new message and updating a message incurs (via
_submessagesChanged
) a search for all messages within the same thread, to recomputesubmessageCount
andsubmessageLastUpdate
. But these quantities are easy to revise locally, incrementing count in the case ofmessageNew
, and in both cases, maxing the root's currentsubmessageLastUpdate
with the updated message's date, both assuming the message is public. (When changing parents, and upon server restart, we should still use_submessagesChanged
.)The text was updated successfully, but these errors were encountered: