Class MessagesExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Date lastMessageAt(List<Message> $self, Boolean skipLastMsgUpdateForSystemMsgs) Returns the date of the last message in the list, excluding shadowed messages and system messages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • lastMessageAt

         final static Date lastMessageAt(List<Message> $self, Boolean skipLastMsgUpdateForSystemMsgs)

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

        Parameters:
        skipLastMsgUpdateForSystemMsgs - If true, system ./messages will be excluded from the last message calculation.
        Returns:

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