1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Fix for extra quote in workgroup IQs

At some point IQChildElementXmlStringBuilder was modified to add the
closing quote around the namespace. this was not reflected in these
element extensions
This commit is contained in:
dave-stanley 2018-01-02 15:42:33 +00:00 committed by Florian Schmaus
parent 34373e8710
commit ae46f653fd
3 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ public class OccupantsInfo extends IQ {
@Override
protected IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
buf.append("\" roomID=\"").append(roomID).append("\">");
buf.append(" roomID=\"").append(roomID).append("\">");
synchronized (occupants) {
for (OccupantInfo occupant : occupants) {
buf.append("<occupant>");

View file

@ -115,7 +115,7 @@ public class RoomInvitation implements ExtensionElement {
}
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
buf.append("\" type=\"").append(type.name()).append("\">");
buf.append(" type=\"").append(type.name()).append("\">");
buf.append("<session xmlns=\"http://jivesoftware.com/protocol/workgroup\" id=\"").append(sessionID).append("\"></session>");
if (invitee != null) {
buf.append("<invitee>").append(invitee).append("</invitee>");

View file

@ -115,7 +115,7 @@ public class RoomTransfer implements ExtensionElement {
}
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
buf.append("\" type=\"").append(type.name()).append("\">");
buf.append(" type=\"").append(type.name()).append("\">");
buf.append("<session xmlns=\"http://jivesoftware.com/protocol/workgroup\" id=\"").append(sessionID).append("\"></session>");
if (invitee != null) {
buf.append("<invitee>").append(invitee).append("</invitee>");