     decodeReply: (stanza) ->
         @results = []
         pubsubEl = stanza?.getChild('pubsub', @xmlns)
-        if pubsubEl? and @decodeReplyEl?
-            for child in pubsubEl.children
-                unless typeof child is 'string'
-                    @decodeReplyEl child
+        if pubsubEl?
+            if @decodeReplyEl?
+                for child in pubsubEl.children
+                    unless typeof child is 'string'
+                        @decodeReplyEl child
+            if (rsmEl = pubsubEl.getChild('rsm', NS.RSM))
+                @results.rsm = RSM.fromXml(rsmEl)
         @results
 
 class CreateNode extends PubsubRequest

NS = require('./ns')
errors = require('../errors')
forms = require('./forms')

class Request
    constructor: (conn, @opts, cb) ->

        if @opts.actor
            pubsubEl.c('actor', xmlns: NS.BUDDYCLOUD_V1).
                t(@opts.actor)
        if @opts.rsm
            pubsubEl.cnode RSM.toXml(@opts.rsm)
        pubsubEl.up()

    iqType: ->
