Support leaving rooms (#45)

This commit is contained in:
Ulyssa 2023-04-28 16:52:33 -07:00
parent 50023bad40
commit a5c25f2487
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
9 changed files with 177 additions and 37 deletions

View file

@ -199,7 +199,7 @@ fn room_prompt(
Err(err)
},
PromptAction::Recall(_, _) => {
PromptAction::Recall(..) => {
let msg = "Cannot recall history inside a list";
let err = EditError::Failure(msg.into());
@ -1043,7 +1043,7 @@ impl Promptable<ProgramContext, ProgramStore, IambInfo> for VerifyItem {
Err(err)
},
PromptAction::Recall(_, _) => {
PromptAction::Recall(..) => {
let msg = "Cannot recall history inside a list";
let err = EditError::Failure(msg.into());
@ -1120,7 +1120,7 @@ impl Promptable<ProgramContext, ProgramStore, IambInfo> for MemberItem {
Err(err)
},
PromptAction::Recall(_, _) => {
PromptAction::Recall(..) => {
let msg = "Cannot recall history inside a list";
let err = EditError::Failure(msg.into());