aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppPresence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppPresence.cpp')
-rw-r--r--src/base/QXmppPresence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppPresence.cpp b/src/base/QXmppPresence.cpp
index aaeb0395..ac6b715b 100644
--- a/src/base/QXmppPresence.cpp
+++ b/src/base/QXmppPresence.cpp
@@ -65,7 +65,7 @@ QXmppPresence::AvailableStatusType QXmppPresence::availableStatusType() const
void QXmppPresence::setAvailableStatusType(AvailableStatusType type)
{
- m_status.setType(static_cast<QXmppPresence::Status::Type>(m_status.type()));
+ m_status.setType(static_cast<QXmppPresence::Status::Type>(type));
}
/// Returns the priority level of the resource.