mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:19:55 +00:00
- aliases are now handled properly in ABCH - removed final escargot leftovers (dev webconsole) - OSCAR etc. logging was not at log level debug - removed leftover debug code
15 lines
462 B
Python
15 lines
462 B
Python
import struct
|
|
from typing import Optional
|
|
|
|
from util.misc import Logger
|
|
|
|
from ..proto.common import system_message
|
|
from ..proto.snac import OSCARClient, OSCARContext, SNACMessage, Foodgroup, Subgroup
|
|
from ..proto.tlv import TLV, unmarshal_tlvs
|
|
|
|
def popup_display(self, alert_url: Optional[str], alert_txt: str):
|
|
response_msg = SNACMessage(0x0008, 0x0002, 0x0000, 0x00000000)
|
|
|
|
response_msg.write_bytes(system_message(alert_url, alert_txt))
|
|
return response_msg
|