3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 12:29:26 +01:00

store channel in missing notifies

This commit is contained in:
reality 2013-08-31 15:47:56 +00:00
parent f9ca9a76d9
commit 24ccdeac8f
2 changed files with 3 additions and 1 deletions

View File

@ -88,11 +88,11 @@ var report = function(dbot) {
});
}, function() {
offlineUsers = perOps;
console.log(offlineUsers);
_.each(offlineUsers, function(id) {
if(!this.pending[id]) this.pending[id] = [];
this.pending[id].push({
'time': new Date().getTime(),
'channel': cName,
'message': message
});
this.pNotify[id] = true;

View File

@ -11,9 +11,11 @@ block content
thead
tr
th Date
th Channel
th Message
tbody
each notify in notifies
tr
td #{notify.time}
td #{notify.channel}
td #{notify.message}