summaryrefslogtreecommitdiff
path: root/ws_connection.go
diff options
context:
space:
mode:
Diffstat (limited to 'ws_connection.go')
-rw-r--r--ws_connection.go13
1 files changed, 12 insertions, 1 deletions
diff --git a/ws_connection.go b/ws_connection.go
index 068b6db..62cc05a 100644
--- a/ws_connection.go
+++ b/ws_connection.go
@@ -327,7 +327,7 @@ func handleConn(
if err != nil {
return err
}
- case "C":
+ case "YC":
err := messageConfirm(
newCtx,
c,
@@ -340,6 +340,17 @@ func handleConn(
if err != nil {
return err
}
+ case "NC":
+ err := messageUnconfirm(
+ newCtx,
+ c,
+ reportError,
+ mar,
+ userID,
+ )
+ if err != nil {
+ return err
+ }
default:
return reportError("Unknown command " + mar[0])
}