package com.sap.mentors.lemonaid.external;

import org.springframework.stereotype.Component;

@Component
public class ScnImage {

	public String getProfilePhoto(final String scnUrl) {
		return scnUrl + "/avatar/144.png";
	}

}

@@ -177,16 +177,140 @@
 nUrl) %7B%0A
+%09%09if (scnUrl.contains(%22people.sap.com%22)) %7B%0A%09%09%09return scnUrl.replace(%22people.sap.com%22, %22people.sap.com/avatar%22);%0A%09%09%7D else %7B%0A%09
 %09%09return
@@ -338,14 +338,18 @@
 4.png%22;%0A
+%09%09%7D%0A
 %09%7D%0A%0A%7D%0A

Support grabbing avatars from new SCN