mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Refactor to remove duplicated code, lint/prettier fixes
This commit is contained in:
@@ -200,8 +200,8 @@ export { COLORS, CONTACTS, me, group };
|
||||
|
||||
parent.textsecure.storage.user.getNumber = () => ourNumber;
|
||||
parent.textsecure.messaging = {
|
||||
getProfile: async (number: string): Promise<Boolean> => {
|
||||
if (parent.ConversationController.get(number)) {
|
||||
getProfile: async (phoneNumber: string): Promise<boolean> => {
|
||||
if (parent.ConversationController.get(phoneNumber)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user