* WIP on message last read - not fully functional yet
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user