Fix crash when changing your username
This commit is contained in:
parent
48836d5761
commit
393b740fe6
2 changed files with 22 additions and 6 deletions
|
@ -1753,7 +1753,10 @@ export class ConversationModel extends window.Backbone
|
|||
id: this.id,
|
||||
uuid: this.get('uuid'),
|
||||
e164: this.get('e164'),
|
||||
username: this.get('username'),
|
||||
|
||||
// We had previously stored `null` instead of `undefined` in some cases. We should
|
||||
// be able to remove this `dropNull` once usernames have gone to production.
|
||||
username: dropNull(this.get('username')),
|
||||
|
||||
about: this.getAboutText(),
|
||||
aboutText: this.get('about'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue