2023-12-28 15:50:23 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2024-02-04 18:08:12 +01:00
|
|
|
def send(self, jid, status_message, status_type=None):
|
2023-12-28 15:50:23 +01:00
|
|
|
self.send_presence(
|
2024-02-04 18:08:12 +01:00
|
|
|
pshow=status_type,
|
2023-12-28 15:50:23 +01:00
|
|
|
pstatus=status_message,
|
2024-02-04 18:08:12 +01:00
|
|
|
pfrom=self.boundjid.bare,
|
|
|
|
pto=jid
|
2023-12-28 15:50:23 +01:00
|
|
|
)
|