mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
fix: #9394, fix guest handles
This commit is contained in:
@@ -68,6 +68,9 @@ topicsAPI.reply = async function (caller, data) {
|
||||
};
|
||||
|
||||
if (data.toPid) { payload.toPid = data.toPid; }
|
||||
if (data.handle && !parseInt(caller.uid, 10)) {
|
||||
payload.handle = data.handle;
|
||||
}
|
||||
|
||||
// Blacklist & Post Queue
|
||||
await meta.blacklist.test(caller.ip);
|
||||
|
||||
Reference in New Issue
Block a user