comparison sat/plugins/plugin_xep_0346.py @ 3614:422049bb81d3

plugin XEP-0346: fix deprecated import
author Goffi <goffi@goffi.org>
date Mon, 02 Aug 2021 21:47:22 +0200
parents b977c74f9c85
children 909b56b115ff
comparison
equal deleted inserted replaced
3613:443b3a784eba 3614:422049bb81d3
14 # GNU Affero General Public License for more details. 14 # GNU Affero General Public License for more details.
15 15
16 # You should have received a copy of the GNU Affero General Public License 16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19 from collections import Iterable 19 from collections.abc import Iterable
20 import itertools 20 import itertools
21 from typing import Optional 21 from typing import Optional
22 from zope.interface import implementer 22 from zope.interface import implementer
23 from twisted.words.protocols.jabber import jid 23 from twisted.words.protocols.jabber import jid
24 from twisted.words.protocols.jabber.xmlstream import XMPPHandler 24 from twisted.words.protocols.jabber.xmlstream import XMPPHandler