Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
humba #1
Member since Feb 2020 · 23 posts
Group memberships: Members
Show profile · Link to this post
Subject: Setting rich presence for Cisco IM&Presence
I'm using matrix.vNext with Cisco IM&P (Version 11.5, but soon 12.5, too). I can connect, set basic presence, manage roaster and get presence notifications just fine.

Where I'm having problem is rich presence. Cisco uses their own PIDF format - looks pretty much like the standard, but with some custom namespaces. Some examles can be seen in their dev guide https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/f4a5c1d3-e…

While I can send that rich presence just fine using this approach

  1. var xmppXElement = XmppXElement.LoadXml(richPresence);
  2. await xmppClient.SendAsync(xmppXElement).ConfigureAwait(false);

the effects it has on the presence of the logged in user isn't what I'm expecting. Has anybody gotten this to work?
This post was edited on 2021-04-03, 18:28 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
MatriX is not touching the Xml you send at all. When something goes wrong there then it look to me like you build the Xml wrong which is in your string variable richPresence.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: