mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Improve type for ConversationModel#setProfileAvatar
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user