]> granicus.if.org Git - ejabberd/commitdiff
Fix disco#items on PEP service
authorChristophe Romain <christophe.romain@process-one.net>
Tue, 1 Aug 2017 13:15:01 +0000 (15:15 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Tue, 1 Aug 2017 13:15:01 +0000 (15:15 +0200)
src/mod_pubsub.erl

index ff2779ed44091fc85427ccdef4b3f26fed8420ad..4b34e21fb35396ab85347cd90b254369e1c25507 100644 (file)
@@ -612,7 +612,7 @@ disco_items(Host, <<>>, From) ->
                                     jid = jid:make(Host),
                                     name = case get_option(Options, title) of
                                                false -> <<>>;
-                                               [Title] -> Title
+                                               Title -> Title
                                            end} | Acc];
                    _ ->
                        Acc