mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-08-19 12:47:59 +01:00
Ensure that tokens get updated on initial save
// FREEBIE
This commit is contained in:
@@ -55,6 +55,10 @@
|
||||
if (attributes.type !== 'private' && attributes.type !== 'group') {
|
||||
return "Invalid conversation type: " + attributes.type;
|
||||
}
|
||||
|
||||
if (!attributes.tokens) {
|
||||
this.updateTokens();
|
||||
}
|
||||
},
|
||||
|
||||
updateTokens: function() {
|
||||
|
||||
Reference in New Issue
Block a user