From fafc7f55be8c206d52de72522645091dd7a73b03 Mon Sep 17 00:00:00 2001
From: Tulir Asokan <tulir@maunium.net>
Date: Sun, 22 Apr 2018 23:26:56 +0300
Subject: Remove impossible check and improve things for testing

---
 config/session.go | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'config')

diff --git a/config/session.go b/config/session.go
index 7ceaf56..9419038 100644
--- a/config/session.go
+++ b/config/session.go
@@ -50,6 +50,10 @@ func (config *Config) NewSession(mxid string) *Session {
 	}
 }
 
+func (s *Session) GetUserID() string {
+	return s.UserID
+}
+
 func (s *Session) Clear() {
 	s.Rooms = make(map[string]*rooms.Room)
 	s.PushRules = nil
-- 
cgit v1.2.3-70-g09d2