xmppo / Jabber-Net

A modern fork of Jabber-Net
https://github.com/xmppo/Jabber-Net
37 stars 13 forks source link

This will never happen in the "if else" #100

Open retes88t opened 6 years ago

retes88t commented 6 years ago

This will never happen in the "if else", if OpenFire always gives "DIGEST-MD5" as (check the "if" before) mechanism option, but I'm trying to set the PlainTextAuth = true... PlainTextAuth is not forcing to use Plain text authentication mechanism.

https://github.com/ForNeVeR/Jabber-Net/blob/15113a9653c8e842d0d14afef21dfb3666dae90f/src/JabberNet/jabber/connection/sasl/SASLProcessor.cs#L153