Menu

#91 Support embedded XML as buddy photo URL

closed-fixed
None
Protocol/Other
5
2016-03-26
2016-03-25
No

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>&lt;ewsUrl&gt;https://outlook.office365.com/EWS/Exchange.asmx/WSSecurity&lt;/ewsUrl&gt;&lt;primarySMTP&gt;USER@DOMAIN&lt;/primarySMTP&gt;</uri><hash>&quot;FD555685&quot;</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.

Related

Forums: Adium pidgin-SIPE Plugin 1.20.1 - No Buddy Icons-Pics

Discussion

  • Stefan Becker

    Stefan Becker - 2016-03-26
    • summary: Support ewsUrl as buddy photo URL --> Support embedded XML as buddy photo URL
    • status: open --> closed-fixed
     
  • Stefan Becker

    Stefan Becker - 2016-03-26

    Implemented by git commit 93e6033

     

Log in to post a comment.