Slixfeed/slixfeed/xmpp/status.py

10 lines
206 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def process_task_message(self, jid, status_message):
self.send_presence(
pshow="dnd",
pstatus=status_message,
pto=jid,
)