(authLvl auth.Level)
| 3860 | } |
| 3861 | |
| 3862 | func (t *Topic) accessFor(authLvl auth.Level) types.AccessMode { |
| 3863 | return selectAccessMode(authLvl, t.accessAnon, t.accessAuth, getDefaultAccess(t.cat, true, false)) |
| 3864 | } |
| 3865 | |
| 3866 | // subsCount returns the number of topic subscribers. This method is different from subCnt with respect to channels: |
| 3867 | // * subsCount counts subscribers + attached channel users. |
no test coverage detected