diff options
author | Andrew Comminos <andrew@comminos.com> | 2015-10-24 23:39:55 +0300 |
---|---|---|
committer | Andrew Comminos <andrew@comminos.com> | 2015-10-24 23:39:55 +0300 |
commit | d5b5ac2e75f96d7f93cb62149c77f8c544084658 (patch) | |
tree | d5581bd4a76b4748618d4cf182dd9bbf8bc474ed /src/main/java/com/morlunk | |
parent | 551e79877c292ee786f4aa76eb3b9818ec0892d7 (diff) |
Expose local mute/ignore and recursive user count to IUser and IChannel.
Diffstat (limited to 'src/main/java/com/morlunk')
-rw-r--r-- | src/main/java/com/morlunk/jumble/model/IChannel.java | 2 | ||||
-rw-r--r-- | src/main/java/com/morlunk/jumble/model/IUser.java | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/morlunk/jumble/model/IChannel.java b/src/main/java/com/morlunk/jumble/model/IChannel.java index e261ff3..fc9d8e7 100644 --- a/src/main/java/com/morlunk/jumble/model/IChannel.java +++ b/src/main/java/com/morlunk/jumble/model/IChannel.java @@ -38,6 +38,8 @@ public interface IChannel { List<? extends IChannel> getSubchannels(); + int getSubchannelUserCount(); + List<? extends IChannel> getLinks(); int getPermissions(); diff --git a/src/main/java/com/morlunk/jumble/model/IUser.java b/src/main/java/com/morlunk/jumble/model/IUser.java index b0311b7..5f18246 100644 --- a/src/main/java/com/morlunk/jumble/model/IUser.java +++ b/src/main/java/com/morlunk/jumble/model/IUser.java @@ -57,5 +57,9 @@ public interface IUser { boolean isLocalIgnored(); + void setLocalMuted(boolean muted); + + void setLocalIgnored(boolean ignored); + TalkState getTalkState(); } |