Filter community chat within the community chat handler
This commit is contained in:
parent
eb23a25eb5
commit
3e4593931c
@ -1040,7 +1040,7 @@ public class CommunityManager extends MiniDbClientPlugin<CommunityMemberData>
|
|||||||
{
|
{
|
||||||
if (Recharge.Instance.use(sender, "Community Chat to " + target.getId(), target.getChatDelay(), false, false))
|
if (Recharge.Instance.use(sender, "Community Chat to " + target.getId(), target.getChatDelay(), false, false))
|
||||||
{
|
{
|
||||||
new CommunityChat(sender.getName(), target.getId(), event.getMessage()).publish();
|
new CommunityChat(sender.getName(), target.getId(), _chat.filterMessage(sender, true, event.getMessage())).publish();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user