mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-05 21:27:49 +08:00
67413b7419
Signed-off-by: fufesou <shuanglongchen@yeah.net>
12 lines
267 B
Dart
12 lines
267 B
Dart
void handlePluginEvent(
|
|
Map<String, dynamic> evt,
|
|
String peer,
|
|
Function(Map<String, dynamic> e) handleMsgBox,
|
|
) {
|
|
if (evt['content']?['c'] == null) return;
|
|
final t = evt['content']?['t'];
|
|
if (t == 'MsgBox') {
|
|
handleMsgBox(evt['content']?['c']);
|
|
}
|
|
}
|