Software /
code /
prosody
Comparison
plugins/mod_vcard.lua @ 9219:3ce18a4018f4
mod_vcard: Remove 0.8 COMPAT code
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 19 Aug 2018 23:44:01 +0100 |
parent | 5776:bd0ff8ae98a8 |
child | 9228:e2e2aa76ea31 |
comparison
equal
deleted
inserted
replaced
9218:7e27dc4d100b | 9219:3ce18a4018f4 |
---|---|
44 return true; | 44 return true; |
45 end | 45 end |
46 | 46 |
47 module:hook("iq/bare/vcard-temp:vCard", handle_vcard); | 47 module:hook("iq/bare/vcard-temp:vCard", handle_vcard); |
48 module:hook("iq/host/vcard-temp:vCard", handle_vcard); | 48 module:hook("iq/host/vcard-temp:vCard", handle_vcard); |
49 | |
50 -- COMPAT w/0.8 | |
51 if module:get_option("vcard_compatibility") ~= nil then | |
52 module:log("error", "The vcard_compatibility option has been removed, see".. | |
53 "mod_compat_vcard in prosody-modules if you still need this."); | |
54 end |