chore: throw exception if you cannot send famedly call member event
This commit is contained in:
parent
d10befcac5
commit
39a8b8ce89
|
|
@ -128,8 +128,8 @@ extension FamedlyCallMemberEventsExtension on Room {
|
|||
newContent,
|
||||
);
|
||||
} else {
|
||||
Logs().w(
|
||||
'[VOIP] cannot send ${EventTypes.GroupCallMember} events in room: $id, fix your PLs');
|
||||
throw Exception(
|
||||
'[VOIP] User is not allowed to send famedly call member events in room');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -773,7 +773,7 @@ class VoIP {
|
|||
if (groupCall != null) {
|
||||
if (!room.canJoinGroupCall) {
|
||||
throw Exception(
|
||||
'User is not allowed to join famedly calls in the room');
|
||||
'[VOIP] User is not allowed to join famedly calls in the room');
|
||||
}
|
||||
return groupCall;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue