anonymous channel if telegram
This commit is contained in:
parent
f89214f062
commit
72b4fec29e
@ -96,7 +96,7 @@ export default (router, tpl) => {
|
||||
data = {
|
||||
user: {
|
||||
name: query.username,
|
||||
channel: query.userchannel,
|
||||
channel: query.usernetwork == "Telegram" && query.userchannel !== "f0ck.me" ? "anonymous" : query.userchannel,
|
||||
network: query.usernetwork
|
||||
},
|
||||
item: {
|
||||
@ -187,7 +187,7 @@ export default (router, tpl) => {
|
||||
|
||||
router.get(/^\/(about)$/, (req, res) => {
|
||||
res.reply({
|
||||
body: tpl.render(req.url.split[0], {}, req)
|
||||
body: tpl.render(req.url.split[0], { tmp: null }, req)
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user