I'm using Message Subscribe UI to implement the following UI at #1710688: Activity stream & Email notification system and ran into an issue:
Per the comp in that issue, I'm trying to have separate tabs for individual Node and group subscriptions. However, it appears that message_subscribe_ui_tab() uses a formula of prefix + flag entity type (rather than bundle, which makes sense).
As a result, the tabs for the Group subscription and the individual node subscription use the same view. Because the view is hard-coded to use one of the two flag relationships, only one of the two tabs has a functioning view.
Some possible resolutions:
A) Use a single flag type for following groups and define a new callback for the additional view
B) Don't use message_subscribe's menu callbacks and instead implement a Quicktab-based UI for the tabs and handle generation of the tabs in Commons_Follow. That would bring the additional benefit of allowing the user to switch between the tabs without a page refresh.
C) Something else ;)