3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

include user in missing notifies

This commit is contained in:
reality 2013-09-07 19:28:46 +00:00
parent 17bd41d3ef
commit 7ec7537b7d
2 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,7 @@ var report = function(dbot) {
this.pending[id].push({ this.pending[id].push({
'time': new Date().getTime(), 'time': new Date().getTime(),
'channel': cName, 'channel': cName,
'user': user.primaryNick,
'message': message 'message': message
}); });
this.pNotify[id] = true; this.pNotify[id] = true;

View File

@ -12,10 +12,12 @@ block content
tr tr
th Date th Date
th Channel th Channel
th User
th Message th Message
tbody tbody
each notify in notifies each notify in notifies
tr tr
td #{notify.time} td #{notify.time}
td #{notify.channel} td #{notify.channel}
td #{notify.user}
td #{notify.message} td #{notify.message}