diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/session.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 |