change requestToJoin()

This commit is contained in:
Felicio Mununga 2022-06-10 02:13:05 +02:00
parent af7abf7123
commit 2ea96cc474
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { hexToBytes } from 'ethereum-cryptography/utils'
import { PageDirection, waku_message } from 'js-waku'
import { hexToBytes } from 'js-waku/build/main/lib/utils'
import difference from 'lodash/difference'
import { ChatMessage } from '~/protos/chat-message'
@ -457,7 +457,7 @@ export class Community {
const payload = CommunityRequestToJoin.encode({
clock: BigInt(Date.now()),
chatId,
communityId: hexToBytes(this.communityPublicKey),
communityId: hexToBytes(this.communityPublicKey.replace(/^0[xX]/, '')),
ensName: '',
})