Remove impossible check and improve things for testing
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user