Fix compilation with latest swiften

This commit is contained in:
Vitaly Takmazov 2012-05-22 12:27:35 +04:00
parent 892af5dc57
commit 8f2ea32da3
2 changed files with 7 additions and 1 deletions

View file

@ -173,4 +173,9 @@ void ServerStanzaChannel::handleSessionInitialized() {
onAvailableChanged(true);
}
std::vector<Certificate::ref> ServerStanzaChannel::getPeerCertificateChain() const {
return std::vector<Certificate::ref>();
}
}

View file

@ -31,7 +31,8 @@ namespace Swift {
bool getStreamManagementEnabled() const {
return false;
}
virtual std::vector<Certificate::ref> getPeerCertificateChain() const;
bool isAvailable() const {
return true;
}