Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tnfAngel committed Jun 28, 2024
1 parent 657617a commit 19ee372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/structures/party/PartyMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PartyMessage extends BaseMessage {
/**
* The message's author
*/
public author!: PartyMember;
public author: PartyMember;

/**
* The message's party
Expand All @@ -25,6 +25,7 @@ class PartyMessage extends BaseMessage {
constructor(client: Client, data: PartyMessageData) {
super(client, data);

this.author = data.author;
this.party = data.party;
}

Expand Down
2 changes: 0 additions & 2 deletions src/xmpp/XMPP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ class XMPP extends Base {
const authorMember = this.client.party.members.get(authorId);
if (!authorMember) return;

console.log('Group chat from', authorMember.id)

const partyMessage = new PartyMessage(this.client, {
content: m.body ?? '', author: authorMember, sentAt: new Date(), id: m.id as string, party: this.client.party,
});
Expand Down

0 comments on commit 19ee372

Please sign in to comment.