sendMessage refactor, initial group stuff (breaks message storage)
This commit is contained in:
parent
fb2aa6144c
commit
d0fd3e94d8
13 changed files with 335 additions and 219 deletions
|
@ -10,10 +10,6 @@ var Whisper = Whisper || {};
|
|||
if (missing.length) { return "Message must have " + missing; }
|
||||
},
|
||||
|
||||
toProto: function() {
|
||||
return new textsecure.protos.PushMessageContentProtobuf({body: this.get('body')});
|
||||
},
|
||||
|
||||
thread: function() {
|
||||
return Whisper.Threads.get(this.get('threadId'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue