Change our sender IDs when re-pinning, so we don't race against duping ourselves.
This commit is contained in:
@@ -764,6 +764,7 @@ Cosmopolite.prototype.onReconnect_ = function() {
|
|||||||
for (var id in this.pins_) {
|
for (var id in this.pins_) {
|
||||||
/** @type {typeMessage} */
|
/** @type {typeMessage} */
|
||||||
var pin = this.pins_[id];
|
var pin = this.pins_[id];
|
||||||
|
pin['sender_message_id'] = this.uuid_();
|
||||||
rpcs.push({
|
rpcs.push({
|
||||||
'command': 'pin',
|
'command': 'pin',
|
||||||
'arguments': pin,
|
'arguments': pin,
|
||||||
|
|||||||
Reference in New Issue
Block a user