irungentoo/toxcore — pull request #929 by JFreegman (2014-06-24 01:07:28+00:00)
Title: only allow call cancel during a pending invite

Actions should perform one specific task: hangup for ending active calls, cancel for cancelling pending outgoing calls. Having both actions end an active call is redundant.