* WIP on message last read - not fully functional yet

This commit is contained in:
Bryan Ashby 2015-10-22 15:44:44 -06:00
parent 4988559569
commit 4a386d649e
5 changed files with 70 additions and 9 deletions

View file

@ -54,6 +54,10 @@ function Message(options) {
return true;
};
this.isPrivate = function() {
return this.areaName === Message.WellKnownAreaNames.Private ? true : false;
};
this.getMessageTimestampString = function(ts) {
ts = ts || new Date();
return ts.toISOString();