mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 23:00:36 +01:00
Message text on commands
This commit is contained in:
parent
2c3c0f40d1
commit
d0fa61fb73
@ -239,6 +239,7 @@ class Messages():
|
|||||||
message_input = m["content"]
|
message_input = m["content"]
|
||||||
|
|
||||||
if message_input.strip() == b"":
|
if message_input.strip() == b"":
|
||||||
|
if not ("lxm" in m and m["lxm"] != None and m["lxm"].fields != None and LXMF.FIELD_COMMANDS in m["lxm"].fields):
|
||||||
message_input = "[i]This message contains no text content[/i]".encode("utf-8")
|
message_input = "[i]This message contains no text content[/i]".encode("utf-8")
|
||||||
|
|
||||||
message_markup = multilingual_markup(message_input)
|
message_markup = multilingual_markup(message_input)
|
||||||
|
Loading…
Reference in New Issue
Block a user