Browse Source

Bugfix. Make sure to remove 'requesting' attr again.

JC Brand 11 years ago
parent
commit
5944ed99e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -2668,7 +2668,7 @@
                         } else if (model.get('subscription') !== item.subscription || model.get('ask') !== item.ask) {
                             // only modify model attributes if they are different from the
                             // ones that were already set when the rosterItem was added
-                            model.set({'subscription': item.subscription, 'ask': item.ask});
+                            model.set({'subscription': item.subscription, 'ask': item.ask, 'requesting': null});
                             model.save();
                         }
                     }