Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Attachment timestamp from and to Apps system not working #12445

Merged
merged 1 commit into from
Oct 27, 2018

Conversation

graywolf336
Copy link
Contributor

The Rocket.Chat system expects a string for the ts property of attachments and the Apps system expects a Date object. This fixes that to ensure the two work well with each other.

@rodrigok rodrigok merged commit 3aed502 into develop Oct 27, 2018
@rodrigok rodrigok deleted the fix-apps-timestamp branch October 27, 2018 13:04
@sampaiodiego sampaiodiego mentioned this pull request Oct 27, 2018
@tuudik
Copy link

tuudik commented Nov 2, 2018

@rodrigok @graywolf336 I have a feeling that this PR caused new issue. Now when integration doesnt forward timestamp, then 1 January, 1970 0:00 is shown for attachment.

@graywolf336
Copy link
Contributor Author

Interesting, that shouldn't happen. Do you have any steps to reproduce this easily?

@cubic3d
Copy link

cubic3d commented Nov 5, 2018

@graywolf336 Same happening here when sending messages through API without ts set.

@xbiafra
Copy link

xbiafra commented Nov 15, 2018

Is this going to be repaired?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants