Skip to content

[BUG] Non-quote attachments use the inaccurate timestamp. #2901

@aKn1ghtOut

Description

@aKn1ghtOut

Description:

Demonstrated on the Open.Rocket.Chat server quite often. In the general channel there, a lot of messages about GitHub activity are shown. However, they all share an origin time of 00:00:00 GMT 1st January 1970, which is to say they use the zero value for the timestamp.

This is unnecessary, as the timestamp is not supposed to be relevant in the message. In the Web Client, the timestamp is not rendered in the "default" attachment.

Screenshot_20210212-200448

Environment Information:

  • Rocket.Chat Server Version: Open.Rocket.Chat
  • Rocket.Chat App Version: 4.14.1
  • Device Name: Oneplus 6
  • OS Version: Android 10

Steps to reproduce:

  1. Open General channel on Open.Rocket.Chat in web client and app.
  2. In the web client, the Github messages do not have the time rendered. In the app, the time is rendered. This time is 00:00:00 GMT 1st Jan 1970 for all messages. It is inaccurate and should not be rendered.

Expected behavior:

The time to not be rendered.

Actual behavior:

The inaccurate time is rendered.

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions