mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-13 04:05:23 +00:00
Don't send empty <Responses> tag
This commit is contained in:
1 parent
b2cab02d70
commit
b4f7ec3708
1 file changed
+3
-1
@@ -1037,7 +1037,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
inBuffer: s
|
||||
processed: &processed];
|
||||
|
||||
if (processed)
|
||||
// Windows phons don't empty Responses tags - such as: <Responses></Responses>.
|
||||
// We onnly generate this tag when the command has generated a response.
|
||||
if (processed && [s length])
|
||||
[commandsBuffer appendFormat: @"<Responses>%@</Responses>", s];
|
||||
else
|
||||
[commandsBuffer appendString: s];
|
||||
|
||||
Reference in new issue
Block a user