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
perf: load unarchive flag lazily for archived threads
Consult the phone's UnarchiveThread setting inside
MessageThreadService.UpdateThread only when an inbound message lands on
an archived thread, instead of loading the phone on every received
message. Removes the per-message phone read in ReceiveMessage and drops
the UnarchiveThread field from the received-message event payload.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bf78429e-573c-406c-9f7c-1d6e1bddbbb5
ctxLogger.Warn(stacktrace.Propagate(err, "cannot load phone [%s] for user [%s] to resolve UnarchiveThread; defaulting to false", owner, params.UserID))
0 commit comments