// that is, if the list of messages is not truncated by the limit
if (last == oldestMessage) {
msgList = Core::requestMsgsFiltered(coreSession()->user(), bufferId, -1, last, additional, Message::Types{type}, Message::Flags{flags});
// that is, if the list of messages is not truncated by the limit
if (last == oldestMessage) {
msgList = Core::requestMsgsFiltered(coreSession()->user(), bufferId, -1, last, additional, Message::Types{type}, Message::Flags{flags});