Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何修改用户默认头像 #16

Closed
hhahali opened this issue May 30, 2019 · 2 comments
Closed

如何修改用户默认头像 #16

hhahali opened this issue May 30, 2019 · 2 comments

Comments

@hhahali
Copy link

hhahali commented May 30, 2019

Expected behavior

Actual behavior

Steps to reproduce

Minimal yet complete reproducer code (or URL to code) or complete log file

Moquette MQTT version

JVM version (e.g. java -version)

OS version (e.g. uname -a)

@heavyrain2012
Copy link
Contributor

最新IM服务中,当创建用户没有传头像地址时,服务器端没有再生成默认头像。这样有2种方案可以实现修改默认头像:

  1. 在创建用户时,传入默认头像的地址。
  2. 在创建用户时,传入空的头像地址,然后客户端的头像placeholder换成默认头像

@hlwskgypmb
Copy link

hlwskgypmb commented Jun 5, 2019

创建用户后 调创建接用户接口 传入uid 可刷新用户数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants