Commit 546204be authored by JC Brand's avatar JC Brand

Merge branch '0.6.x'

parents 7fa6f5a0 61c71742
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// AMD/global registrations // AMD/global registrations
(function (root, factory) { (function (root, factory) {
if (console===undefined || console.log===undefined) { if (typeof console === "undefined" || typeof console.log === "undefined") {
console = { log: function () {}, error: function () {} }; console = { log: function () {}, error: function () {} };
} }
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
...@@ -2612,6 +2612,10 @@ ...@@ -2612,6 +2612,10 @@
if (this.isSelf(item.jid)) { return; } if (this.isSelf(item.jid)) { return; }
var model = this.get(item.jid); var model = this.get(item.jid);
if (!model) { if (!model) {
if ((item.subscription === 'none') && (item.ask === null)) {
// We're not interested in zombies
return;
}
is_last = false; is_last = false;
if (index === (items.length-1)) { is_last = true; } if (index === (items.length-1)) { is_last = true; }
this.create({ this.create({
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
if (!window.locales) { if (!window.locales) {
window.locales = {}; window.locales = {};
} }
window.locales.de = factory(new Jed(translations)); window.locales.hu = factory(new Jed(translations));
} }
}(this, function(hu) { }(this, function(hu) {
return hu; return hu;
......
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