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:
parent
34373e8710
commit
ae46f653fd
3 changed files with 3 additions and 3 deletions
|
@ -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>");
|
||||
|
|
|
@ -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>");
|
||||
|
|
|
@ -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>");
|
||||
|
|
Loading…
Reference in a new issue