static Msg lastMsgFromUserBefore(L msgs, int i) { ret lastThat(takeFirst(msgs, i), m -> m.fromUser); }