Use promise version of PluginInterface on the client
[KiwiIRC.git] / client / src / views / channel.js
index f3d1ac955a723b0b0dcf198199112446326ebc0e..7961fa5bf2e7062db2281fb84072e154673f2a42 100644 (file)
@@ -61,7 +61,7 @@ _kiwi.view.Channel = _kiwi.view.Panel.extend({
         msg = this.generateMessageDisplayObj(msg);
 
         _kiwi.global.events.emit('message:display', {panel: this.model, message: msg})
-        .done(_.bind(function() {
+        .then(_.bind(function() {
             var line_msg;
 
             // Format the nick to the config defined format