Mercurial > libervia-backend
comparison libervia/backend/plugins/plugin_xep_0184.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | 4b842c1fb686 |
children |
comparison
equal
deleted
inserted
replaced
4269:64a85ce8be70 | 4270:0d7bb4df2343 |
---|---|
113 return XEP_0184_handler(self, client.profile) | 113 return XEP_0184_handler(self, client.profile) |
114 | 114 |
115 def send_message_trigger( | 115 def send_message_trigger( |
116 self, client, mess_data, pre_xml_treatments, post_xml_treatments | 116 self, client, mess_data, pre_xml_treatments, post_xml_treatments |
117 ): | 117 ): |
118 """Install SendMessage command hook """ | 118 """Install SendMessage command hook""" |
119 | 119 |
120 def treatment(mess_data): | 120 def treatment(mess_data): |
121 message = mess_data["xml"] | 121 message = mess_data["xml"] |
122 message_type = message.getAttribute("type") | 122 message_type = message.getAttribute("type") |
123 | 123 |