lastMessageAt

fun List<Message>.lastMessageAt(skipLastMsgUpdateForSystemMsgs: Boolean): Date?

Returns the date of the last message in the list, excluding shadowed messages and system messages.

Return

The date of the last message or null if there are no valid messages.

Parameters

skipLastMsgUpdateForSystemMsgs

If true, system ./messages will be excluded from the last message calculation.