mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 10:32:50 +02:00
Merge pull request #4243 from pichalite/issue-4241
don't mention guest on reply
This commit is contained in:
@@ -182,7 +182,7 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator
|
||||
}
|
||||
|
||||
var username = getUserName(selectionText ? $(selection.baseNode) : button);
|
||||
if (getData(button, 'data-uid') === '0') {
|
||||
if (getData(button, 'data-uid') === '0' || !getData(button, 'data-userslug')) {
|
||||
username = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user