Merge branch 'master' into develop

This commit is contained in:
Barış Soner Uşaklı
2026-03-11 13:15:26 -04:00

View File

@@ -287,7 +287,9 @@ define('forum/topic/postTools', [
showStaleWarning(function () {
let username = getUserSlug(button);
if (getData(button, 'data-uid') === '0' || !getData(button, 'data-userslug')) {
const postUid = getData(button, 'data-uid');
const isSelfPost = postUid === String(app.user.uid);
if (isSelfPost || postUid === '0' || !getData(button, 'data-userslug')) {
username = '';
}