From ce315f3f8e4e0cbd95af83f450921e027a621704 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 13 Sep 2016 16:43:49 -0700 Subject: [PATCH] Add Events to SignalProtocolStore Allows triggering and listening for events. // FREEBIE --- js/signal_protocol_store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/signal_protocol_store.js b/js/signal_protocol_store.js index c64aa387ca25..7c9776258514 100644 --- a/js/signal_protocol_store.js +++ b/js/signal_protocol_store.js @@ -348,6 +348,7 @@ }, }; + _.extend(SignalProtocolStore.prototype, Backbone.Events); window.SignalProtocolStore = SignalProtocolStore; })();