Hide the profile picture and username in DMs

This commit is contained in:
2025-09-05 23:33:21 +03:00
Unverified
parent 35b573945e
commit a6594d5960
6 changed files with 17 additions and 6 deletions
+4
View File
@@ -28,6 +28,10 @@ export class DMPanel extends MessagePanel {
super("dm", user, callbacks, onStateChange);
}
isDm(): boolean {
return true;
}
async activate(): Promise<void> {
if (this.dmData && !this.messagesLoaded) {
await this.loadMessages();