Skip to content

Commit b9beea8

Browse files
committed
fix(music-together): fix crash
1 parent f0e7781 commit b9beea8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plugins/music-together/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,9 @@ export default createPlugin<
612612

613613
const accountData = renderer.data as RawAccountData;
614614
this.me = {
615-
handleId: accountData.channelHandle.runs[0].text,
615+
handleId:
616+
accountData.channelHandle.runs[0].text ??
617+
accountData.accountName.runs[0].text,
616618
name: accountData.accountName.runs[0].text,
617619
thumbnail: accountData.accountPhoto.thumbnails[0].url,
618620
};

0 commit comments

Comments
 (0)