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

update alias in payload for updating #1517

上级 8e5f6992
......@@ -425,6 +425,7 @@ export class Contact extends Accessory implements Sayable {
try {
await this.puppet.contactAlias(this.id, newAlias)
this.payload!.alias = newAlias || undefined
} catch (e) {
log.error('Contact', 'alias(%s) rejected: %s', newAlias, e.message)
Raven.captureException(e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册