Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sendEphemeralToSameChannel でのメンションを抑制 #735

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

MikuroXina
Copy link
Collaborator

Type of Change:

コードの改善

Details of implementation (実施内容)

一時的にしか表示されないメッセージを送信する sendEphemeralToSameChannel メソッドでユーザーにメンションが入るのは不自然なので, 該当する文字列があってもメンションされないように allowedMentions を指定しました.

@MikuroXina MikuroXina added the C-improvement Category: improvement label Feb 10, 2023
@MikuroXina MikuroXina self-assigned this Feb 10, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #735 (c4a87fe) into main (69fe1c1) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #735      +/-   ##
==========================================
- Coverage   72.87%   72.79%   -0.08%     
==========================================
  Files          70       70              
  Lines        4814     4819       +5     
  Branches      455      455              
==========================================
  Hits         3508     3508              
- Misses        854      859       +5     
  Partials      452      452              
Flag Coverage Δ
unittests 72.79% <0.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/adaptor/proxy/middleware/message-convert.ts 31.50% <0.00%> (-2.32%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@MikuroXina MikuroXina merged commit 2e10a65 into main Feb 10, 2023
@MikuroXina MikuroXina deleted the fix/avoid-mention-in-ephemeral branch February 10, 2023 09:14
This was referenced Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-improvement Category: improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants