projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6629f5
)
Kiwi server connect plugin event
author
Darren
<darren@darrenwhitlen.com>
Fri, 19 Sep 2014 13:53:30 +0000
(14:53 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Fri, 19 Sep 2014 13:53:30 +0000
(14:53 +0100)
client/src/models/application.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/models/application.js
b/client/src/models/application.js
index 7a97e3bf8c7209965c9902a9c4b459174b04bdba..aab897d362c14ca3c419a43099cd3b34f50c3b55 100644
(file)
--- a/
client/src/models/application.js
+++ b/
client/src/models/application.js
@@
-210,6
+210,11
@@
\r
that.view.$el.addClass('connected');
\r
\r
+ // Make the rpc globally available for plugins
\r
+ _kiwi.global.rpc = _kiwi.gateway.rpc;
\r
+
\r
+ _kiwi.global.events.emit('connected');
\r
+
\r
// If we were reconnecting, show some messages we have connected back OK
\r
if (gw_stat === 1) {
\r
\r