Initial move to initial sync. Everything broke :(
This commit is contained in:
@ -35,6 +35,8 @@ type Session struct {
|
||||
FilterID string
|
||||
Rooms map[string]*rooms.Room
|
||||
PushRules *pushrules.PushRuleset
|
||||
|
||||
InitialSyncDone bool
|
||||
}
|
||||
|
||||
func (config *Config) LoadSession(mxid string) error {
|
||||
@ -50,6 +52,10 @@ func (config *Config) NewSession(mxid string) *Session {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Session) SetInitialSyncDone() {
|
||||
s.InitialSyncDone = true
|
||||
}
|
||||
|
||||
func (s *Session) GetUserID() string {
|
||||
return s.UserID
|
||||
}
|
||||
|
Reference in New Issue
Block a user