Skip to content

Commit

Permalink
Merge pull request #52 from martinjones/disconnected
Browse files Browse the repository at this point in the history
[voicecall] Don't set disconnected status prematurely.
  • Loading branch information
thp committed Jan 29, 2015
2 parents 375f062 + 8af8b93 commit 2de9d0f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/providers/telepathy/src/telepathyhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,6 @@ void TelepathyHandler::hangup()
SIGNAL(finished(Tp::PendingOperation*)),
SLOT(onStreamedMediaChannelHangupCallFinished(Tp::PendingOperation*)));
}

setStatus(STATUS_DISCONNECTED);
}

void TelepathyHandler::hold(bool on)
Expand Down Expand Up @@ -525,8 +523,6 @@ void TelepathyHandler::onCallChannelHangupCallFinished(Tp::PendingOperation *op)
}

setStatus(STATUS_DISCONNECTED);

emit this->invalidated("closed", "user");
}

void TelepathyHandler::onFarstreamCreateChannelFinished(Tp::PendingOperation *op)
Expand Down Expand Up @@ -739,8 +735,6 @@ void TelepathyHandler::onStreamedMediaChannelHangupCallFinished(Tp::PendingOpera
}

setStatus(STATUS_DISCONNECTED);

emit this->invalidated("closed", "user");
}

void TelepathyHandler::onStreamedMediaChannelCallStateChanged(uint, uint state)
Expand Down

0 comments on commit 2de9d0f

Please sign in to comment.