diff --git a/converse.js b/converse.js index 517c9c4c0..3fbf1050f 100644 --- a/converse.js +++ b/converse.js @@ -5896,14 +5896,15 @@ var wrappedChatBox = function (chatbox) { var view = converse.chatboxviews.get(chatbox.get('jid')); return { - 'open': view.show.bind(view), 'close': view.close.bind(view), 'endOTR': chatbox.endOTR.bind(chatbox), 'focus': view.focus.bind(view), 'get': chatbox.get.bind(chatbox), 'initiateOTR': chatbox.initiateOTR.bind(chatbox), + 'is_chatroom': chatbox.is_chatroom, 'maximize': chatbox.maximize.bind(chatbox), 'minimize': chatbox.minimize.bind(chatbox), + 'open': view.show.bind(view), 'set': chatbox.set.bind(chatbox) }; }; diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 02102f0b4..6eb4bc6c9 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -31,6 +31,7 @@ Changelog * CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti] * Add offline pretty status to enable translation [thierrytiti] * With keepalive, don't send out a presence stanza on each page load [jcbrand] +* Chat boxes returned by the API now have an ``is_chatroom`` attribute [jcbrand] 0.9.3 (2015-05-01) ------------------