keepLastSendAfter function
Whether a conversation keeps the last message it sent once that send has
ended as how, with native's turn-end record end: after a cancelled
send, the one a rewind puts back, and after one native ended context_full
(section 23), which L3 rewinds to before (core 2.6.0 design ยง6.4b).
Implementation
@visibleForTesting
bool keepLastSendAfter(NativeTurnEnd how, NativeLastTurnEnd? end) =>
how == NativeTurnEnd.cancelled || end == NativeLastTurnEnd.contextFull;