core/commands: remove more safeJID calls; add type hints

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent e61b7742
Pipeline #2039 passed with stages
in 2 minutes and 23 seconds