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

9 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-01-06 15:18 +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) -> None: 

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

12 

13 

14register_plugin(VCard4Provider)