mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
a couple final tweaks to contact list and such... #1788
This commit is contained in:
@@ -81,6 +81,7 @@ var db = require('./database'),
|
||||
message.fromUser = self ? userData[0] : userData[1];
|
||||
message.toUser = self ? userData[1] : userData[0];
|
||||
message.timestampISO = new Date(parseInt(message.timestamp, 10)).toISOString();
|
||||
message.self = self ? 1 : 0;
|
||||
|
||||
Messaging.parse(message.content, message.fromuid, fromuid, userData[1], userData[0], isNew, function(result) {
|
||||
message.content = result;
|
||||
|
||||
Reference in New Issue
Block a user