Do not handle presence type='error'
This commit is contained in:
parent
3b3b3a008a
commit
d6ae5629a2
1 changed files with 4 additions and 0 deletions
|
@ -282,6 +282,10 @@ void Component::handlePresence(Swift::Presence::ref presence) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (presence->getType() == Presence::Error) {
|
||||
return;
|
||||
}
|
||||
|
||||
// check if we have this client's capabilities and ask for them
|
||||
if (presence->getType() != Swift::Presence::Unavailable) {
|
||||
boost::shared_ptr<CapsInfo> capsInfo = presence->getPayload<CapsInfo>();
|
||||
|
|
Loading…
Add table
Reference in a new issue