Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
retrouser955 committed Oct 8, 2024
2 parents c67cffa + f4cfecc commit 448b090
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/Structs/DMChannel/DMChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ClientUser } from '@/hooks/user/helpers/User/ClientUser';
import { formatDataStores } from '@/lib/Constants';
import { Util } from '@/lib/utils/Utils/Util';
import type { IGunInstance } from 'gun';
import { Message, type MessageStructure } from '@/lib/Structs/Message/Message';
import { Message, type MessageStructure } from '@/lib/structs/Message/Message';
import { getPeerCache } from '@/lib/structs/cache/PeerCache';

export class DMChannel {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/utils/Chats/chatData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class ChatData {
// This will likely explode once we add group DMs

// OUT OF DATE
refreshCache() {}
refreshCache() { }

async getChannel(
uid: string,
Expand Down Expand Up @@ -84,7 +84,7 @@ export class ChatData {
},
);

this.clean = await channel.listenToMessages() as () => void;
this.clean = await channel.listenToMessages();

this.chPub = channel.peer.pub;
return channel;
Expand Down

0 comments on commit 448b090

Please sign in to comment.