fix: dont update teaser for public chats

This commit is contained in:
Barış Soner Uşaklı
2026-02-05 14:01:33 -05:00
parent 17bfd73edf
commit 149d649a6c

View File

@@ -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;
}