-
- Downloads
[IMP] mail: hide Unsubscribe button in channels using group-based subscription
Group-based channels automatically add people belonging to user groups to the channel. If a member leaves the channel he will be automatically added back by the channel automatic subscription. This generates unnecessary changes and messages in the channel. We now prevent people from leaving group-based channels. All group members have to be channel members. Unsubscribe buttons are therefore removed for those channels.
Showing
- addons/mail/models/mail_channel.py 1 addition, 0 deletionsaddons/mail/models/mail_channel.py
- addons/mail/static/src/js/chat_manager.js 1 addition, 0 deletionsaddons/mail/static/src/js/chat_manager.js
- addons/mail/static/src/js/client_action.js 5 additions, 1 deletionaddons/mail/static/src/js/client_action.js
- addons/mail/static/src/xml/client_action.xml 1 addition, 1 deletionaddons/mail/static/src/xml/client_action.xml
- addons/mail/views/mail_channel_views.xml 3 additions, 2 deletionsaddons/mail/views/mail_channel_views.xml
Loading
Please register or sign in to comment