anonymous channel if telegram
This commit is contained in:
parent
f89214f062
commit
72b4fec29e
@ -96,7 +96,7 @@ export default (router, tpl) => {
|
|||||||
data = {
|
data = {
|
||||||
user: {
|
user: {
|
||||||
name: query.username,
|
name: query.username,
|
||||||
channel: query.userchannel,
|
channel: query.usernetwork == "Telegram" && query.userchannel !== "f0ck.me" ? "anonymous" : query.userchannel,
|
||||||
network: query.usernetwork
|
network: query.usernetwork
|
||||||
},
|
},
|
||||||
item: {
|
item: {
|
||||||
@ -187,7 +187,7 @@ export default (router, tpl) => {
|
|||||||
|
|
||||||
router.get(/^\/(about)$/, (req, res) => {
|
router.get(/^\/(about)$/, (req, res) => {
|
||||||
res.reply({
|
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