From 6a9e74def5010e29abe62be81c3f53e8943b2d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 23 Oct 2020 03:32:50 +0200 Subject: notif if user muted/unmuted --- mumd/src/state/user.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mumd/src/state') diff --git a/mumd/src/state/user.rs b/mumd/src/state/user.rs index 98f34bc..848208c 100644 --- a/mumd/src/state/user.rs +++ b/mumd/src/state/user.rs @@ -121,6 +121,14 @@ impl User { pub fn channel(&self) -> u32 { self.channel } + + pub fn self_mute(&self) -> bool { + self.self_mute + } + + pub fn self_deaf(&self) -> bool { + self.self_deaf + } } impl From<&User> for mumlib::state::User { -- cgit v1.2.1