Commit 5944ed99 authored by JC Brand's avatar JC Brand

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

parent 1757a3cc
...@@ -2668,7 +2668,7 @@ ...@@ -2668,7 +2668,7 @@
} else if (model.get('subscription') !== item.subscription || model.get('ask') !== item.ask) { } else if (model.get('subscription') !== item.subscription || model.get('ask') !== item.ask) {
// only modify model attributes if they are different from the // only modify model attributes if they are different from the
// ones that were already set when the rosterItem was added // 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(); model.save();
} }
} }
......
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