【发布时间】:2013-05-30 12:06:16
【问题描述】:
NSString *ipAddress =[NSMutableString stringWithFormat:@"%@@204.93.197.136", selectedBuddy];
XMPPJID *newBuddy hString:ipAddress];
[[self appDelegate].xmppRoster acceptPresenceSubscriptionRequestFrom:newBuddy andAddToRoster:YES];
这是我在 xmpp 中用于接受好友请求的代码,但问题是在接受请求时另一个人收到订阅请求如何解决此问题。
【问题讨论】: