mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 11:01:20 +01:00
fix: dont update teaser for public chats
This commit is contained in:
@@ -664,7 +664,7 @@ define('forum/chats', [
|
||||
};
|
||||
|
||||
Chats.updateTeaser = async function (roomId, teaser) {
|
||||
if (!ajaxify.data.template.chats || !app.user.userslug) {
|
||||
if (!ajaxify.data.template.chats || ajaxify.data.public || !app.user.userslug) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user