projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967687f
)
ontopicssetbby event
author
Darren
<darren@darrenwhitlen.com>
Sat, 25 Aug 2012 20:38:05 +0000
(21:38 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 25 Aug 2012 20:38:05 +0000
(21:38 +0100)
client_backbone/model_application.js
patch
|
blob
|
blame
|
history
diff --git
a/client_backbone/model_application.js
b/client_backbone/model_application.js
index ea6130d8ff5502874b937bc514a0551b11036d6e..9732d158a812914a9e506ffdd8f4b01beae0a9c3 100644
(file)
--- a/
client_backbone/model_application.js
+++ b/
client_backbone/model_application.js
@@
-143,6
+143,16
@@
kiwi.model.Application = Backbone.Model.extend(new (function () {
});
\r
\r
\r
+ gw.on('ontopicsetby', function (event) {
\r
+ var c, when;
\r
+ c = that.panels.getByName(event.channel);
\r
+ if (!c) return;
\r
+
\r
+ when = new Date(event.when * 1000).toLocaleString();
\r
+ c.addMsg('', 'Topic set by ' + event.nick + ' at ' + when, 'topic');
\r
+ });
\r
+
\r
+
\r
gw.on('onuserlist', function (event) {
\r
var channel;
\r
channel = that.panels.getByName(event.channel);
\r