mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Omit left groups from search
Unless they contain messages. // FREEBIE
This commit is contained in:
@@ -123,6 +123,10 @@
|
||||
message.send(sendFunc(this.get('id'), body, attachments, now));
|
||||
},
|
||||
|
||||
isSearchable: function() {
|
||||
return !this.get('left') || !!this.get('lastMessage');
|
||||
},
|
||||
|
||||
endSession: function() {
|
||||
if (this.isPrivate()) {
|
||||
var now = Date.now();
|
||||
|
||||
Reference in New Issue
Block a user