Fixed VCard without to attribute
This commit is contained in:
parent
2d49798d12
commit
ca3ebd5c3c
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ bool VCardResponder::handleGetRequest(const Swift::JID& from, const Swift::JID&
|
|||
|
||||
std::string name = to_.getUnescapedNode();
|
||||
if (name.empty()) {
|
||||
to_ = user->getComponent()->getJID();
|
||||
std::cout << "aaaa " << user->getComponent()->getJID().toString() << "\n";
|
||||
to_ = user->getJID();
|
||||
name = to_.getUnescapedNode();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue