mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-10-22 16:51:13 +00:00
feat(ui): add handling for lxm.ingest_uri.result messages with success, error, warning, and info notifications
This commit is contained in:
1 file changed
+12
@@ -866,6 +866,18 @@ export default {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "lxm.ingest_uri.result": {
|
||||
if (json.status === "success") {
|
||||
ToastUtils.success(json.message);
|
||||
} else if (json.status === "error") {
|
||||
ToastUtils.error(json.message);
|
||||
} else if (json.status === "warning") {
|
||||
ToastUtils.warning(json.message);
|
||||
} else {
|
||||
ToastUtils.info(json.message);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "identity_switched": {
|
||||
ToastUtils.success(`Switched to identity: ${json.display_name}`);
|
||||
|
||||
|
||||
Reference in new issue
Block a user