New NSE and hold notification to reply

This commit is contained in:
2025-06-01 03:29:37 +08:00
parent 311420e1f7
commit 7f36c86c55
12 changed files with 92 additions and 23 deletions

View File

@ -14,6 +14,7 @@ part 'call_button.g.dart';
@riverpod
Future<SnRealtimeCall?> ongoingCall(Ref ref, String roomId) async {
if (roomId.isEmpty) return null;
try {
final apiClient = ref.watch(apiClientProvider);
final resp = await apiClient.get('/chat/realtime/$roomId');