From 31069ef041d18fddddb1b3c6bea3aa42d7ef1d33 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Fri, 20 Jun 2014 16:13:59 +0200 Subject: [PATCH] Cleanups. --- src/app/spreed-webrtc-server/hub.go | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/app/spreed-webrtc-server/hub.go b/src/app/spreed-webrtc-server/hub.go index a0498a26..bc0b1a56 100644 --- a/src/app/spreed-webrtc-server/hub.go +++ b/src/app/spreed-webrtc-server/hub.go @@ -255,25 +255,6 @@ func (h *Hub) ValidateSession(id, sid string) bool { } -/* -func (h *Hub) EncodeAttestation(session *Session) (string, error) { - - attestation, err := h.attestations.Encode("attestation", session.Id) - if err == nil { - session.UpdateAttestation(attestation) - } - return attestation, err - -} - -func (h *Hub) DecodeAttestation(token string) (string, error) { - - var id string - err := h.attestations.Decode("attestation", token, &id) - return id, err - -}*/ - func (h *Hub) EncodeSessionToken(st *SessionToken) (string, error) { return h.tickets.Encode(h.tokenName, st)