mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +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:
parent
34373e8710
commit
ae46f653fd
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ public class OccupantsInfo extends IQ {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
|
protected IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
|
||||||
buf.append("\" roomID=\"").append(roomID).append("\">");
|
buf.append(" roomID=\"").append(roomID).append("\">");
|
||||||
synchronized (occupants) {
|
synchronized (occupants) {
|
||||||
for (OccupantInfo occupant : occupants) {
|
for (OccupantInfo occupant : occupants) {
|
||||||
buf.append("<occupant>");
|
buf.append("<occupant>");
|
||||||
|
|
|
@ -115,7 +115,7 @@ public class RoomInvitation implements ExtensionElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
|
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>");
|
buf.append("<session xmlns=\"http://jivesoftware.com/protocol/workgroup\" id=\"").append(sessionID).append("\"></session>");
|
||||||
if (invitee != null) {
|
if (invitee != null) {
|
||||||
buf.append("<invitee>").append(invitee).append("</invitee>");
|
buf.append("<invitee>").append(invitee).append("</invitee>");
|
||||||
|
|
|
@ -115,7 +115,7 @@ public class RoomTransfer implements ExtensionElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
|
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>");
|
buf.append("<session xmlns=\"http://jivesoftware.com/protocol/workgroup\" id=\"").append(sessionID).append("\"></session>");
|
||||||
if (invitee != null) {
|
if (invitee != null) {
|
||||||
buf.append("<invitee>").append(invitee).append("</invitee>");
|
buf.append("<invitee>").append(invitee).append("</invitee>");
|
||||||
|
|
Loading…
Reference in a new issue