Changeset - d6ae5629a2c7
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-08-05 20:16:23
hanzz.k@gmail.com
Do not handle presence type='error'
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/transport.cpp
Show inline comments
 
@@ -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>();
0 comments (0 inline, 0 general)