fix: #9394, fix guest handles

This commit is contained in:
Barış Soner Uşaklı
2021-03-15 14:03:35 -04:00
parent d1685600d3
commit eb360351e5
5 changed files with 57 additions and 8 deletions

View File

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