diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-10-23 03:32:50 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-10-23 03:34:48 +0200 |
| commit | 6a9e74def5010e29abe62be81c3f53e8943b2d5c (patch) | |
| tree | bbc1da51b50a7c40b684295797a422abf016a906 /mumd/src/state | |
| parent | 61d578ad3e6fd1f59cb46436b45374c8fe3936c0 (diff) | |
| download | mum-6a9e74def5010e29abe62be81c3f53e8943b2d5c.tar.gz | |
notif if user muted/unmuted
Diffstat (limited to 'mumd/src/state')
| -rw-r--r-- | mumd/src/state/user.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |
