Change our sender IDs when re-pinning, so we don't race against duping ourselves.

This commit is contained in:
Ian Gulliver
2014-05-27 14:33:17 -07:00
parent ba51350768
commit fd94334133

View File

@@ -764,6 +764,7 @@ Cosmopolite.prototype.onReconnect_ = function() {
for (var id in this.pins_) {
/** @type {typeMessage} */
var pin = this.pins_[id];
pin['sender_message_id'] = this.uuid_();
rpcs.push({
'command': 'pin',
'arguments': pin,