From fd943341331ba1dfd689c267fc0bd139324b5ddc Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Tue, 27 May 2014 14:33:17 -0700 Subject: [PATCH] Change our sender IDs when re-pinning, so we don't race against duping ourselves. --- static/cosmopolite.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/cosmopolite.js b/static/cosmopolite.js index 759e2da..8a21402 100644 --- a/static/cosmopolite.js +++ b/static/cosmopolite.js @@ -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,