thaw the topic lists when a new topic is made

This commit is contained in:
Azareal 2020-12-18 08:26:29 +10:00
parent 08be6ca402
commit ed201f1898
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func (s *DefaultTopicStore) Create(fid int, name, content string, uid int, ip st
return 0, err return 0, err
} }
tid = int(lastID) tid = int(lastID)
TopicListThaw.Thaw()
return tid, Forums.AddTopic(tid, uid, fid) return tid, Forums.AddTopic(tid, uid, fid)
} }