textsecure.protos

This commit is contained in:
Matt Corallo 2014-05-21 15:04:05 -04:00
parent 665f0ef00a
commit 9aae93fc99
4 changed files with 63 additions and 53 deletions

View file

@ -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')});
}
});