mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Hide the profile picture and username in DMs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user