我正在尝试使用 xmpp 和 smack 设置聊天信使。
我可以连接,登录
m_connection.connect();
SASLAuthentication.supportSASLMechanism("PLAIN", 0);
m_connection.login(userName, password);
我也可以以管理员身份创建新用户。
AccountManager ac = m_connection.getAccountManager();
ac.createAccount(user, password);
我的周期中唯一缺少的是客户第一次想要注册的时候。管理员用户如何获得创建新用户的通知/请求。有没有我可能错过的听众?
谢谢!