Coverage for slidge/slixfix/xep_0292/vcard4.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-11-07 05:11 +0000

1from slixmpp.plugins.base import BasePlugin, register_plugin 

2from slixmpp.plugins.xep_0292.stanza import NS 

3 

4 

5class VCard4Provider(BasePlugin): 

6 name = "xep_0292_provider" 

7 description = "VCard4 Provider" 

8 dependencies = {"xep_0030"} 

9 

10 def plugin_init(self): 

11 self.xmpp.plugin["xep_0030"].add_feature(NS) 

12 

13 

14register_plugin(VCard4Provider)