Slixfeed/slixfeed/xmpp/status.py

11 lines
246 B
Python
Raw Normal View History

#!/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
)