trim whitespace of encoded emoji (#559)
* trim whitespace of encoded emoji * Create eighty-crabs-accept.md
This commit is contained in:
parent
88030482df
commit
ef5c31fff7
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@status-im/js": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
trim whitespace of encoded emoji
|
|
@ -36,7 +36,7 @@ export function decodeCommunityURLData(data: string) {
|
||||||
const channelSchema = z.object({
|
const channelSchema = z.object({
|
||||||
displayName: z.string().max(24).nonempty(),
|
displayName: z.string().max(24).nonempty(),
|
||||||
description: z.string().max(140).nonempty(),
|
description: z.string().max(140).nonempty(),
|
||||||
emoji: z.string().emoji().optional(),
|
emoji: z.string().trim().emoji().optional(),
|
||||||
color: colorSchema,
|
color: colorSchema,
|
||||||
community: z.object({
|
community: z.object({
|
||||||
displayName: communityDisplayName,
|
displayName: communityDisplayName,
|
||||||
|
|
Loading…
Reference in New Issue