Skip to content

请问下为什么我获取群聊列表获取不了呢  #2

@boyssimple

Description

@boyssimple

NSXMLElement query = [NSXMLElement elementWithName:@"query" xmlns:@"http://jabber.org/protocol/disco#items"];
//conference 原生的
XMPPJID
proxyCandidateJID = [XMPPJID jidWithString:[NSString stringWithFormat:@"%@.%@",GROUND,XMPP_HOST]];

XMPPIQ *iq = [XMPPIQ iqWithType:@"get" to:proxyCandidateJID  elementID:@"disco" child:query];
[self.xmppStream sendElement:iq];

执行之后不能走- (BOOL)xmppStream:(XMPPStream *)sender didReceiveIQ:(XMPPIQ *)iq 方法

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions