Commit 0a131fcc authored by Maxime Buquet's avatar Maxime Buquet
Browse files

Some more typing for is_known_muc_pm

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent a7ab0cf5
......@@ -5,6 +5,8 @@ XMPP-related handlers for the Core class
import logging
log = logging.getLogger(__name__)
from typing import Optional
import asyncio
import curses
import functools
......@@ -103,7 +105,7 @@ class HandlerCore:
def is_known_muc_pm(self, message: Message, with_jid: JID):
def is_known_muc_pm(self, message: Message, with_jid: JID) -> Optional[bool]:
Try to determine whether a given message is a MUC-PM, without a roundtrip. Returns None when it's not clear
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment