Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
Creegfire #1
Member since Jul 2018 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Matrix.vNext sending XML string instead of XmppXElement
Hello,

Currently I'm translating the following implementation of: https://github.com/larscom/nefit-easy-dotnet to Matrix.vNext for .net standard support.

Due to the realllyyyyy bad implementation of Nefit it is required that when sending the put message to Nefit that 
 is sended as a true string instead translated to actually a carriage return.

I'm already searching for quite some time that I am able to send the message with those characters in it but I'm still unable to. The old library accepts a xml string which is accepted by the Nefit backend.

Could maybe someone help me out?

Thank you in advance.
Avatar
Creegfire #2
Member since Jul 2018 · 2 posts
Group memberships: Members
Show profile · Link to this post
I was able to solve it in the following way:

When browsing this forum someone mentioned to create your own message. I created a new message where I was able to override the ToString method so that I'm able to replace the content with the &$13; content.
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:
Forum: MatriX RSS