Skip to content

Commit 2a11f03

Browse files
committed
add userprofile to moderation entity types
1 parent cdad3b8 commit 2a11f03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/stream-chat/moderation.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class Moderation
1414
MODERATION_ENTITY_TYPES = T.let(
1515
{
1616
user: 'stream:user',
17-
message: 'stream:chat:v1:message'
17+
message: 'stream:chat:v1:message',
18+
userprofile: 'stream:v1:user_profile',
1819
}.freeze,
1920
T::Hash[Symbol, String]
2021
)

0 commit comments

Comments
 (0)