Coverage for slidge/slixfix/xep_0153/vcard_avatar.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-05-04 08:17 +0000

1from slixmpp.plugins.base import BasePlugin 

2from slixmpp.plugins.xep_0153 import VCardTempUpdate, stanza 

3from slixmpp.stanza import Presence 

4from slixmpp.xmlstream import register_stanza_plugin 

5 

6 

7class XEP_0153(BasePlugin): 

8 name = "xep_0153" 

9 description = "XEP-0153: vCard-Based Avatars (slidge, just for MUCs)" 

10 dependencies = {"xep_0054"} 

11 stanza = stanza 

12 

13 def plugin_init(self) -> None: 

14 register_stanza_plugin(Presence, VCardTempUpdate)