Change default value for active_at
We're overriding the default with null often enough that we should just change the default. Consequently, no more phantom blank conversations with oneself should appear after receiving a group update. They were being added to the inbox because they were incorrectly initialized with an active_at value. Fixes #281
This commit is contained in:
parent
809c9bdb57
commit
853b578551
4 changed files with 2 additions and 7 deletions
|
@ -69,8 +69,7 @@
|
|||
name: contactDetails.name,
|
||||
id: contactDetails.number,
|
||||
avatar: contactDetails.avatar,
|
||||
type: 'private',
|
||||
active_at: null
|
||||
type: 'private'
|
||||
}).save();
|
||||
}
|
||||
|
||||
|
@ -82,7 +81,6 @@
|
|||
members: groupDetails.members,
|
||||
avatar: groupDetails.avatar,
|
||||
type: 'group',
|
||||
active_at: null
|
||||
}).save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue