mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
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:
@@ -27,7 +27,6 @@
|
||||
return {
|
||||
unreadCount : 0,
|
||||
timestamp : timestamp,
|
||||
active_at : timestamp
|
||||
};
|
||||
},
|
||||
|
||||
@@ -180,7 +179,7 @@
|
||||
},
|
||||
|
||||
archive: function() {
|
||||
this.unset('active_at');
|
||||
this.set({active_at: null});
|
||||
},
|
||||
|
||||
destroyMessages: function() {
|
||||
|
||||
Reference in New Issue
Block a user