Page MenuHomePhabricator

No OneTemporary

diff --git a/sylk/applications/webrtcgateway/__init__.py b/sylk/applications/webrtcgateway/__init__.py
index 37fad08..2e00b69 100644
--- a/sylk/applications/webrtcgateway/__init__.py
+++ b/sylk/applications/webrtcgateway/__init__.py
@@ -1,37 +1,36 @@
from sylk.applications import SylkApplication
from sylk.applications.webrtcgateway.logger import log
from sylk.applications.webrtcgateway.storage import TokenStorage
from sylk.applications.webrtcgateway.util import IdentityFormatter
from sylk.applications.webrtcgateway.web import WebHandler, AdminWebHandler
class WebRTCGatewayApplication(SylkApplication):
def __init__(self):
self.web_handler = WebHandler()
self.admin_web_handler = AdminWebHandler()
def start(self):
self.web_handler.start()
self.admin_web_handler.start()
- # Load tokens from storage
- storage = TokenStorage()
- storage.load()
+ # Load tokens from the storage
+ token_storage = TokenStorage()
+ token_storage.load()
def stop(self):
self.web_handler.stop()
self.admin_web_handler.stop()
def incoming_session(self, session):
log.info(u'New incoming session %s from %s rejected' % (session.call_id, IdentityFormatter.format(session.remote_identity)))
session.reject(403)
def incoming_subscription(self, request, data):
request.reject(405)
def incoming_referral(self, request, data):
request.reject(405)
def incoming_message(self, request, data):
request.reject(405)
-

File Metadata

Mime Type
text/x-diff
Expires
Sat, Dec 28, 9:15 PM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3454362
Default Alt Text
(1 KB)

Event Timeline