Coverage for slidge/slixfix/xep_0264/thumbnail.py: 100%

11 statements  

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

1import logging 

2 

3from slixmpp.plugins import BasePlugin 

4 

5from . import stanza 

6 

7log = logging.getLogger(__name__) 

8 

9 

10class XEP_0264(BasePlugin): 

11 """ 

12 XEP-0264: Jingle Content Thumbnails 

13 

14 Minimum needed for xep 0385 (Stateless inline media sharing) 

15 """ 

16 

17 name = "xep_0264" 

18 description = "XEP-0264: Jingle Content Thumbnails" 

19 dependencies = {"xep_0234"} 

20 stanza = stanza 

21 

22 def plugin_init(self): 

23 stanza.register_plugin()