Skip to content

Commit

Permalink
chatData P(E) = 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ahqsoftwares committed Sep 27, 2024
1 parent 380b5a2 commit 30544aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/utils/Chats/chatData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ export class ChatData {

this.messages = [];

const peer = await this.peerCache.fetch(uid, true);

const channel = new DMChannel(
this.user.userInfo as ClientUser,
await this.peerCache.fetch(uid, true),
peer,
db,
async (msg) => {
this.messages.push(msg);
Expand Down

0 comments on commit 30544aa

Please sign in to comment.