diff --git a/spec/omemo.js b/spec/omemo.js
index ccb5d8074..80487f133 100644
--- a/spec/omemo.js
+++ b/spec/omemo.js
@@ -360,9 +360,10 @@
''+
''+
'- '+
- '
'+
- ''+
- ''+
+ ''+
+ ''+
+ ''+
+ '
'+
' '+
''+
''+
@@ -669,9 +670,10 @@
''+
''+
'- '+
- '
'+
- ''+
- ''+
+ ''+
+ ''+
+ ''+
+ '
'+
' '+
''+
''+
diff --git a/src/converse-omemo.js b/src/converse-omemo.js
index 26072af6c..14cf80894 100644
--- a/src/converse-omemo.js
+++ b/src/converse-omemo.js
@@ -734,7 +734,7 @@
}).c('pubsub', {'xmlns': Strophe.NS.PUBSUB})
.c('publish', {'node': Strophe.NS.OMEMO_DEVICELIST})
.c('item')
- .c('list', {'xmlns': Strophe.NS.OMEMO}).up()
+ .c('list', {'xmlns': Strophe.NS.OMEMO})
_.each(this.devices.where({'active': true}), (device) => {
stanza.c('device', {'id': device.get('id')}).up();