textsecure.protos
This commit is contained in:
parent
665f0ef00a
commit
9aae93fc99
4 changed files with 63 additions and 53 deletions
|
@ -5,7 +5,7 @@ var Whisper = Whisper || {};
|
|||
|
||||
var Message = Backbone.Model.extend({
|
||||
toProto: function() {
|
||||
return new PushMessageContentProtobuf({body: this.get('body')});
|
||||
return new textsecure.protos.PushMessageContentProtobuf({body: this.get('body')});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue