diff --git a/apps/mtxcli/locales/i18n.json b/apps/mtxcli/locales/i18n.json
index 19509beb7..4c79128ee 100644
--- a/apps/mtxcli/locales/i18n.json
+++ b/apps/mtxcli/locales/i18n.json
@@ -20,6 +20,13 @@
"ja": "シンプルなMTXCLIデモへようこそ",
"zh": "简单的 mtxcli 演示活动"
},
+ "mtxcli.heap.help": {
+ "en": "/heap",
+ "en-tts": "heap",
+ "fr": "/heap",
+ "ja": "/heap",
+ "zh": "/heap"
+ },
"mtxcli.help.help": {
"en": "/help [cmd]",
"en-tts": "help [cmd]",
diff --git a/apps/mtxcli/src/cmds.rs b/apps/mtxcli/src/cmds.rs
index 2559f73ad..eee2c6f0b 100644
--- a/apps/mtxcli/src/cmds.rs
+++ b/apps/mtxcli/src/cmds.rs
@@ -26,6 +26,8 @@ const SERVER_KEY: &str = "server";
const TOKEN_KEY: &str = "_token";
const USER_KEY: &str = "user";
const USERNAME_KEY: &str = "username";
+const VERSION_KEY: &str = "_version";
+const CURRENT_VERSION_KEY: &str = "__version";
const HTTPS: &str = "https://";
const SERVER_MATRIX: &str = "https://matrix.org";
@@ -203,23 +205,33 @@ impl CommonEnv {
}
}
+ pub fn xous_version(&self) -> String {
+ // Currently breaks in hosted mode:
+ // self.ticktimer.get_version()
+ "v0.9.11".to_string()
+ }
+
pub fn get(&mut self, key: &str) -> Result