Skip to content

Commit

Permalink
v2.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Apr 12, 2019
1 parent fd145b7 commit 8dd7ee0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/edit_sessions.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ Chat.Message = class {
this.author = this.author.substr(0, 64)
this.self = (this.author && this.author === EditSession.username);
this.text = data.text.substr(0, Chat.maxlength)||'';
this.timestamp = new Date.getTimestamp()
var date = new Date();
this.timestamp = date.getTimestamp()
this.toString = () => (this.author + ': ' + this.content);
//Color
this.color = data.color
Expand Down

0 comments on commit 8dd7ee0

Please sign in to comment.