Merge branch 'dev' of https://git.118im.com/im_team/im_server into dev
This commit is contained in:
@@ -304,6 +304,7 @@ type testGroupBusinessStore struct {
|
||||
leftTopic string
|
||||
leftUID types.Uid
|
||||
updateSettingsErr error
|
||||
getSettingsErr error
|
||||
updateMemberErr error
|
||||
}
|
||||
|
||||
@@ -319,6 +320,9 @@ func (s *testGroupBusinessStore) CreateSettings(_ types.TenantID, settings *type
|
||||
}
|
||||
|
||||
func (s *testGroupBusinessStore) GetSettings(_ types.TenantID, topic string) (*types.GroupSettings, error) {
|
||||
if s.getSettingsErr != nil {
|
||||
return nil, s.getSettingsErr
|
||||
}
|
||||
if s.settings != nil {
|
||||
return s.settings, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user