There was an error while loading. Please reload this page.
1 parent e751f9e commit 1795bb1Copy full SHA for 1795bb1
lib/src/sip_ua_helper.dart
@@ -61,7 +61,7 @@ class SIPUAHelper extends EventManager {
61
62
void unregister([bool all = true]) {
63
if (_ua != null) {
64
- assert(!registered, 'ERROR: you must call register first.');
+ assert(registered, 'ERROR: you must call register first.');
65
_ua.unregister(all: all);
66
} else {
67
Log.e('ERROR: unregister called, you must call start first.');
0 commit comments