]> granicus.if.org Git - ejabberd/commitdiff
Set -protocol() directive for mod_avatar
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 19 Mar 2018 16:23:15 +0000 (19:23 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 19 Mar 2018 16:23:15 +0000 (19:23 +0300)
src/mod_avatar.erl

index 45999e8854cb03e008c729d1eb1b524f160b8346..e92a875945e647898741e65ac312812970aa1d7e 100644 (file)
@@ -23,6 +23,8 @@
 -module(mod_avatar).
 -behaviour(gen_mod).
 
+-protocol({xep, 398, '0.2.0'}).
+
 %% gen_mod API
 -export([start/2, stop/1, reload/3, depends/2, mod_opt_type/1, mod_options/1]).
 %% Hooks