more actions without subscribing first
This commit is contained in:
+8
-8
@@ -5095,15 +5095,15 @@ var TinodeWeb = function (_React$Component) {
|
||||
archived = false;
|
||||
|
||||
if (topic) {
|
||||
if (topic.isSubscribed()) {
|
||||
subscribed = true;
|
||||
var acs = topic.getAccessMode();
|
||||
muted = acs && acs.isMuted();
|
||||
blocked = acs && !acs.isJoiner();
|
||||
deleter = acs && acs.isDeleter();
|
||||
}
|
||||
|
||||
subscribed = topic.isSubscribed();
|
||||
archived = topic.isArchived();
|
||||
var acs = topic.getAccessMode();
|
||||
|
||||
if (acs) {
|
||||
muted = acs.isMuted();
|
||||
blocked = !acs.isJoiner();
|
||||
deleter = acs.isDeleter();
|
||||
}
|
||||
}
|
||||
|
||||
return [subscribed ? {
|
||||
|
||||
Reference in New Issue
Block a user