chore: Fire events by default during hangup.

This commit is contained in:
cloudwebrtc 2022-09-14 23:48:29 +08:00
parent 62cca99edd
commit 7e1abd2b95
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ class CallSession {
await sendCallReject(room, callId, lifetimeMs, localPartyId, reason);
}
Future<void> hangup([String? reason, bool suppressEvent = true]) async {
Future<void> hangup([String? reason, bool suppressEvent = false]) async {
// stop play ringtone
voip.delegate.stopRingtone();