From 19267cb7ac28ce51674baa9516ebb36074709d4f Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Tue, 18 May 2021 02:36:47 +0200 Subject: add ability for backend to keep track of messages --- mumlib/src/command.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mumlib/src') diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs index d2e8477..de54261 100644 --- a/mumlib/src/command.rs +++ b/mumlib/src/command.rs @@ -29,6 +29,7 @@ pub enum Command { }, Status, UserVolumeSet(String, f32), + PastMessages, } #[derive(Debug, Deserialize, Serialize)] @@ -55,4 +56,7 @@ pub enum CommandResponse { Status { server_state: Server, }, + PastMessages { + messages: Vec<(String, String)>, + } } -- cgit v1.2.1