aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-28 22:49:31 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-28 22:49:31 +0100
commit1c038995be9f869be1b69a604e42096807806676 (patch)
treebb9bab0af2c66358774446e1011bf2bc5ec49f94
parent708bd14e994765e818eb835da0bc0799e3e67ccd (diff)
downloadeasybridge-1c038995be9f869be1b69a604e42096807806676.tar.gz
easybridge-1c038995be9f869be1b69a604e42096807806676.zip
Allow "query" again
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 79654c5..241a977 100644
--- a/server.go
+++ b/server.go
@@ -234,7 +234,7 @@ func handleSystemMessage(mxid string, msg string) {
} else {
ezbrSystemSendf(mxid, "No account with name or using protocol %s", cmd[1])
}
- case "talk":
+ case "query", "talk":
account := findAccount(mxid, cmd[1])
if account != nil {
quser := connector.UserID(cmd[2])