Browse Source

Prohibit combined usage of "star" and "mention"

pull/9947/head
Michael 10 months ago
parent
commit
2bb8e7a56f
  1. 7
      src/Module/Conversation/Network.php

7
src/Module/Conversation/Network.php

@ -314,6 +314,13 @@ class Network extends BaseModule
self::$selectedTab = self::$selectedTab ?? self::$order;
// Prohibit combined usage of "star" and "mention"
if (self::$selectedTab == 'star') {
self::$mention = false;
} elseif (self::$selectedTab == 'mention') {
self::$star = false;
}
Session::set('network-tab', self::$selectedTab);
DI::pConfig()->set(local_user(), 'network.view', 'selected_tab', self::$selectedTab);

Loading…
Cancel
Save