Commit ed3be373 authored by JC Brand's avatar JC Brand

Merge branch 'master' of github.com:emmanuel-florent/converse.js into emmflorent

parents 21a3b440 fdfd98ac
......@@ -4052,8 +4052,8 @@
if (contact instanceof converse.RosterContact) {
contact.authorize().subscribe();
} else {
// XXX: I don't think this should ever happen
this.addContact(jid, '', [], { 'subscription': 'from' }).done(function (contact) {
// XXX: Happen when subscription retries or roster deleted
this.addContact(bare_jid, '', [], { 'subscription': 'from' }).done(function (contact) {
if (contact instanceof converse.RosterContact) {
contact.authorize().subscribe();
}
......
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