Started from this discussion thread
Contact data photo
node can contain XML data instead of an URL:
<contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard"> ... <displayADPhoto>true</displayADPhoto> <photo type="exchange" updated="2015-09-23T15:43:05Z"><uri><ewsUrl>https://outlook.office365.com/EWS/Exchange.asmx/WSSecurity</ewsUrl><primarySMTP>USER@DOMAIN</primarySMTP></uri><hash>"FD555685"</hash></photo> </contactCard> </category>
i.e.
<ewsUrl>https://outlook.office365.com/EWS/Exchange.asmx/WSSecurity</ewsUrl><primarySMTP>USER@DOMAIN</primarySMTP>
The idea is to send a GetUserPhoto SOAP request to that URL. This will require refactoring in sipe-ucs.c to support more than one EWS server and without UCS being active for the user account.
Forums: Adium pidgin-SIPE Plugin 1.20.1 - No Buddy Icons-Pics
Implemented by git commit 93e6033