Commit 2d415980 authored by JC Brand's avatar JC Brand

Bugfix. Don't override defaults for ChatBox

parent 8191d5e8
......@@ -366,7 +366,7 @@
_converse.ChatRoom = _converse.ChatBox.extend({
defaults: function () {
return _.extend(_converse.ChatBox.prototype.defaults, {
return _.extend(_.clone(_converse.ChatBox.prototype.defaults), {
'type': CHATROOMS_TYPE,
// For group chats, we distinguish between generally unread
// messages and those ones that specifically mention the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment