Expose is_chatroom attribute on chat boxes returned by the API
This commit is contained in:
parent
0426f47941
commit
f73f61e622
@ -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)
|
||||
};
|
||||
};
|
||||
|
@ -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)
|
||||
------------------
|
||||
|
Loading…
Reference in New Issue
Block a user