diff --git a/app/javascript/chat/channelDetails.jsx b/app/javascript/chat/channelDetails.jsx
index 1ac780558..b0d4df339 100644
--- a/app/javascript/chat/channelDetails.jsx
+++ b/app/javascript/chat/channelDetails.jsx
@@ -101,7 +101,7 @@ export default class ChannelDetails extends Component {
{searchedUsers}
Pending Invites:
{pendingInvites}
- Channels can have a maximum of 128 members, including outstanding invites. All functionality is early beta. Contact us if you need help with anything or to have any restrictions lifted.
+ All functionality is early beta. Contact us if you need help with anything.
}
return
diff --git a/app/javascript/chat/chat.jsx b/app/javascript/chat/chat.jsx
index d7a1142fe..8bda4a315 100644
--- a/app/javascript/chat/chat.jsx
+++ b/app/javascript/chat/chat.jsx
@@ -452,9 +452,11 @@ export default class Chat extends Component {
}
triggerActiveContent = e => {
- e.preventDefault();
- e.stopPropagation();
const target = e.target
+ if (target.dataset.content || (target.href && target.href.startsWith('https://dev.to/'))) {
+ e.preventDefault();
+ e.stopPropagation();
+ }
let newActiveContent = this.state.activeContent
if (target.dataset.content === 'channel-details') {
newActiveContent[this.state.activeChannelId] = {
diff --git a/app/models/chat_channel_membership.rb b/app/models/chat_channel_membership.rb
index 9594e70ad..d5505855c 100644
--- a/app/models/chat_channel_membership.rb
+++ b/app/models/chat_channel_membership.rb
@@ -14,8 +14,9 @@ class ChatChannelMembership < ApplicationRecord
if chat_channel.channel_type == "direct" && chat_channel.slug.split("/").exclude?(user.username)
errors.add(:user_id, "is not allowed in chat")
end
- if chat_channel.users.size > 128
- errors.add(:base, "too many members in channel")
- end
+ # To be possibly implemented in future
+ # if chat_channel.users.size > 128
+ # errors.add(:base, "too many members in channel")
+ # end
end
end