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:
parent
f9ca9a76d9
commit
24ccdeac8f
@ -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;
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user