[FIX] mail: client action: traceback on composer focus

wrong copy-paste introduced in c4fb2b50e0.
This commit is contained in:
Aaron Bohy
2015-12-24 09:05:28 +01:00
parent 5e51dc9924
commit 26b00a844a
+1 -1
View File
@@ -558,7 +558,7 @@ var ChatAction = Widget.extend(ControlPanelMixin, {
},
on_composer_input_focused: function () {
var suggestions = chat_manager.get_mention_partner_suggestions(this.channel);
var composer = channel.mass_mailing ? self.extended_composer : self.basic_composer;
var composer = this.channel.mass_mailing ? this.extended_composer : this.basic_composer;
composer.mention_set_prefetched_partners(suggestions);
},