Slixfeed/slixfeed/xmpp/status.py
2024-02-04 17:08:12 +00:00

10 lines
246 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def send(self, jid, status_message, status_type=None):
self.send_presence(
pshow=status_type,
pstatus=status_message,
pfrom=self.boundjid.bare,
pto=jid
)