Revert "Remove unregistered group members"
This reverts commita768b94471
.d2ddfc7
was enough to fix #989. Removing unregistered members from the group (as opposed to silently ignorning them) creates greater potential for getting out of sync with the member lists on other devices. // FREEBIE
This commit is contained in:
parent
dfe9ee9679
commit
e648a4b095
2 changed files with 2 additions and 30 deletions
|
@ -62,19 +62,6 @@
|
|||
message.save().then(this.trigger.bind(this,'newmessage', message));
|
||||
},
|
||||
|
||||
addMemberLeft: function(source) {
|
||||
var timestamp = Date.now();
|
||||
var message = new Whisper.Message({
|
||||
conversationId : this.id,
|
||||
source : source,
|
||||
type : 'incoming',
|
||||
sent_at : timestamp,
|
||||
received_at : timestamp,
|
||||
group_update : {left: source}
|
||||
});
|
||||
message.save().then(this.trigger.bind(this,'newmessage', message));
|
||||
},
|
||||
|
||||
onReadMessage: function(message) {
|
||||
if (this.messageCollection.get(message.id)) {
|
||||
this.messageCollection.get(message.id).fetch();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue