mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +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) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user