|
|
|
@ -192,8 +192,6 @@ Status::Status Friend::getStatus() const
@@ -192,8 +192,6 @@ Status::Status Friend::getStatus() const
|
|
|
|
|
return isNegotiating ? Status::Status::Negotiating : friendStatus; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Friend::setExtendedMessageSupport(bool supported) |
|
|
|
|
{ |
|
|
|
|
supportedExtensions[ExtensionType::messages] = supported; |
|
|
|
@ -222,4 +220,5 @@ void Friend::onNegotiationComplete() {
@@ -222,4 +220,5 @@ void Friend::onNegotiationComplete() {
|
|
|
|
|
|
|
|
|
|
if (Status::isOnline(getStatus())) { |
|
|
|
|
emit onlineOfflineChanged(friendPk, true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|