Skip to content

Commit

Permalink
use id
Browse files Browse the repository at this point in the history
  • Loading branch information
tnfAngel committed Jun 28, 2024
1 parent 3ebf8ea commit 657617a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmpp/XMPP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class XMPP extends Base {
const authorMember = this.client.party.members.get(authorId);
if (!authorMember) return;

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

Check warning on line 195 in src/xmpp/XMPP.ts

View workflow job for this annotation

GitHub Actions / Test Code (Node 16)

Unexpected console statement.

Check failure on line 195 in src/xmpp/XMPP.ts

View workflow job for this annotation

GitHub Actions / Test Code (Node 16)

Missing semicolon.

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 657617a

Please sign in to comment.