Scenario:
A Lightning component that is being used as:
-a quick action override of the "New" button of CustomObject1 and
-as a quick action override of the "New" button of CustomObject1 in the related list of Account
How can i differentiate the caller origin. Because if the lightning component is called from the Account related list i want the account field automatically filled. If the lightning component is called from the CustomObject1 New button then the field should be manually selected