aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-08-01 15:15:01 +0200
committerChristophe Romain <christophe.romain@process-one.net>2017-08-01 15:15:01 +0200
commit0ba6c78ed01ae53dd54957eec5bab015b927d3da (patch)
tree8da362d4552049a33e41147398835ee6307f795b
parentFix PEP node identity (#1717) (diff)
Fix disco#items on PEP service
-rw-r--r--src/mod_pubsub.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index ff2779ed4..4b34e21fb 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -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