@@ -29,6 +29,13 @@ var mockConfig = {
29
29
'<iq from="alice@localhost/http" type="set">\
30
30
<pubsub xmlns="http://jabber.org/protocol/pubsub">\
31
31
<create node="/user/alice@localhost/existing_princely_musings"/>\
32
+ <configure node="/user/alice@localhost/existing_princely_musings">\
33
+ <x xmlns="jabber:x:data" type="submit">\
34
+ <field var="FORM_TYPE" type="hidden">\
35
+ <value>http://jabber.org/protocol/pubsub#node_config</value>\
36
+ </field>\
37
+ </x>\
38
+ </configure>\
32
39
</pubsub>\
33
40
</iq>' :
34
41
'<iq type="error">\
@@ -41,6 +48,13 @@ var mockConfig = {
41
48
'<iq from="alice@localhost/http" type="set">\
42
49
<pubsub xmlns="http://jabber.org/protocol/pubsub">\
43
50
<create node="/user/alice@localhost/forbidden_princely_musings"/>\
51
+ <configure node="/user/alice@localhost/forbidden_princely_musings">\
52
+ <x xmlns="jabber:x:data" type="submit">\
53
+ <field var="FORM_TYPE" type="hidden">\
54
+ <value>http://jabber.org/protocol/pubsub#node_config</value>\
55
+ </field>\
56
+ </x>\
57
+ </configure>\
44
58
</pubsub>\
45
59
</iq>' :
46
60
'<iq type="error">\
@@ -53,6 +67,13 @@ var mockConfig = {
53
67
'<iq from="alice@localhost/http" type="set">\
54
68
<pubsub xmlns="http://jabber.org/protocol/pubsub">\
55
69
<create node="/user/alice@localhost/unregistered_princely_musings"/>\
70
+ <configure node="/user/alice@localhost/unregistered_princely_musings">\
71
+ <x xmlns="jabber:x:data" type="submit">\
72
+ <field var="FORM_TYPE" type="hidden">\
73
+ <value>http://jabber.org/protocol/pubsub#node_config</value>\
74
+ </field>\
75
+ </x>\
76
+ </configure>\
56
77
</pubsub>\
57
78
</iq>' :
58
79
'<iq type="error">\
@@ -65,6 +86,13 @@ var mockConfig = {
65
86
'<iq from="alice@localhost/http" type="set">\
66
87
<pubsub xmlns="http://jabber.org/protocol/pubsub">\
67
88
<create node="/user/alice@localhost/princely_musings"/>\
89
+ <configure node="/user/alice@localhost/princely_musings">\
90
+ <x xmlns="jabber:x:data" type="submit">\
91
+ <field var="FORM_TYPE" type="hidden">\
92
+ <value>http://jabber.org/protocol/pubsub#node_config</value>\
93
+ </field>\
94
+ </x>\
95
+ </configure>\
68
96
</pubsub>\
69
97
</iq>' :
70
98
'<iq type="result"/>' ,
0 commit comments