FIX: Unify font size of chat channel title (#232)

FIX: Unify font size of chat channel title (#232)

diff --git a/assets/javascripts/discourse/templates/components/chat-channel-title.hbs b/assets/javascripts/discourse/templates/components/chat-channel-title.hbs
index 108a497..16d7939 100644
--- a/assets/javascripts/discourse/templates/components/chat-channel-title.hbs
+++ b/assets/javascripts/discourse/templates/components/chat-channel-title.hbs
@@ -11,7 +11,7 @@
         {{avatar channel.chatable.users.firstObject imageSize="medium"}}
         {{tc-user-presence-flair user=channel.chatable.users.firstObject}}
       </div>
-      <span class="dm-username">{{channel.chatable.users.firstObject.username}}</span>
+      <span class="dm-usernames">{{channel.chatable.users.firstObject.username}}</span>
     </div>
 
   {{/if}}
diff --git a/assets/stylesheets/common/common.scss b/assets/stylesheets/common/common.scss
index 4627784..071cbdc 100644
--- a/assets/stylesheets/common/common.scss
+++ b/assets/stylesheets/common/common.scss
@@ -918,9 +918,10 @@ $float-height: 530px;
   .chat-name,
   .topic-chat-name,
   .category-chat-name,
+  .tag-chat-name,
   .dm-usernames {
     margin: 0 0 0 0.25em;
-    font-size: 14px;
+    font-size: var(--font-0);
     @include ellipsis;
   }
   .topic-chat-icon {
diff --git a/lib/chat_message_creator.rb b/lib/chat_message_creator.rb
index 3e12866..c3f6d27 100644
--- a/lib/chat_message_creator.rb
+++ b/lib/chat_message_creator.rb
@@ -199,7 +199,7 @@ class DiscourseChat::ChatMessageCreator
                               ),
       tag: push_notification_tag(:mention, chat_channel),
       excerpt: chat_message.message[0..399],
-      post_url: "/chat/channel/#{@chat_channel.id}/#{chat_channel.title(mentioned)}?messageId=#{chat_message.id}"
+      post_url: "/chat/channel/#{chat_channel.id}/#{chat_channel.title(mentioned)}?messageId=#{chat_message.id}"
     }
     membership = mentioned.user_chat_channel_memberships.detect { |m| m.chat_channel_id == chat_channel.id }
     return if !membership || membership.muted

GitHub sha: ef75ba2d46b98452e83770a96eccbe37bdd16244

This commit appears in #232 which was approved by pmusaraj. It was merged by markvanlan.