提交 4d0c649b 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

avatar() get big image by default

上级 8db983e1
......@@ -321,7 +321,7 @@ export class Contact implements Sayable {
try {
const hostname = await (config.puppetInstance() as PuppetWeb).browser.hostname()
const avatarUrl = `http://${hostname}${this.obj.avatar}`
const avatarUrl = `http://${hostname}${this.obj.avatar}&type=big` // add '&type=big' to get big image
const cookies = await (config.puppetInstance() as PuppetWeb).browser.readCookie()
log.silly('Contact', 'avatar() url: %s', avatarUrl)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册