Improve type for ConversationModel#setProfileAvatar
This commit is contained in:
parent
622b9df077
commit
75cb7b6b13
1 changed files with 1 additions and 1 deletions
|
@ -4601,7 +4601,7 @@ export class ConversationModel extends window.Backbone
|
|||
}
|
||||
}
|
||||
|
||||
async setProfileAvatar(avatarPath: string): Promise<void> {
|
||||
async setProfileAvatar(avatarPath: undefined | null | string): Promise<void> {
|
||||
if (!avatarPath) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue